[rhmessaging-commits] rhmessaging commits: r2750 - mgmt/trunk/cumin/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Nov 5 16:37:48 EST 2008


Author: eallen
Date: 2008-11-05 16:37:48 -0500 (Wed, 05 Nov 2008)
New Revision: 2750

Modified:
   mgmt/trunk/cumin/python/wooly/parameters.py
Log:
Undoing change to the way BoolParameter is marshalled.

Modified: mgmt/trunk/cumin/python/wooly/parameters.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/parameters.py	2008-11-05 21:36:46 UTC (rev 2749)
+++ mgmt/trunk/cumin/python/wooly/parameters.py	2008-11-05 21:37:48 UTC (rev 2750)
@@ -90,7 +90,7 @@
         self.default = False
 
     def do_unmarshal(self, string):
-        return not string == ""
+        return string == "t"
 
     def do_marshal(self, object):
         return object and "t" or "f"




More information about the rhmessaging-commits mailing list