[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Actually return something from bool0.
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Node ID 4ede29160b534da74024f98d3e006cf0ecdc573b # Parent 4d53706e8028f8da6273de7a7efcbcd88bac173a Actually return something from bool0. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 4d53706e8028 -r 4ede29160b53 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Fri Dec 01 13:09:30 2006 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Dec 01 13:25:33 2006 +0000 @@ -59,7 +59,7 @@ log = logging.getLogger("xend.XendDomain def bool0(v): - v != "0" and bool(v) + return v != "0" and bool(v) ## _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |