Author: eallen
Date: 2008-10-01 16:51:52 -0400 (Wed, 01 Oct 2008)
New Revision: 2564
Modified:
mgmt/trunk/cumin/python/wooly/parameters.py
Log:
Change BooleanParameter test to accomodate IE
Modified: mgmt/trunk/cumin/python/wooly/parameters.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/parameters.py 2008-10-01 20:51:25 UTC (rev 2563)
+++ mgmt/trunk/cumin/python/wooly/parameters.py 2008-10-01 20:51:52 UTC (rev 2564)
@@ -87,7 +87,7 @@
self.default = False
def do_unmarshal(self, string):
- return string == "t"
+ return not string == ""
def do_marshal(self, object):
return object and "t" or "f"
Show replies by date