Actually return something from bool0.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-12-01 13:25:33 +00:00
1 parent 4dc8c41b11
commit 4bdbd7644a
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ log = logging.getLogger("xend.XendDomainInfo")
def bool0(v):
v != "0" and bool(v)
return v != "0" and bool(v)
##
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.