ia64/xen-unstable

changeset 12742:4ede29160b53

Actually return something from bool0.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Dec 01 13:25:33 2006 +0000 (2006-12-01)
parents 4d53706e8028
children b334f479853e
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Fri Dec 01 13:09:30 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Fri Dec 01 13:25:33 2006 +0000
     1.3 @@ -59,7 +59,7 @@ log = logging.getLogger("xend.XendDomain
     1.4  
     1.5  
     1.6  def bool0(v):
     1.7 -    v != "0" and bool(v)
     1.8 +    return v != "0" and bool(v)
     1.9  
    1.10  
    1.11  ##