Author: eallen
Date: 2009-03-05 16:26:36 -0500 (Thu, 05 Mar 2009)
New Revision: 3141
Modified:
mgmt/trunk/wooly/python/wooly/parameters.py
Log:
Allow DictParameter values of ""
Modified: mgmt/trunk/wooly/python/wooly/parameters.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/parameters.py 2009-03-05 21:22:19 UTC (rev 3140)
+++ mgmt/trunk/wooly/python/wooly/parameters.py 2009-03-05 21:26:36 UTC (rev 3141)
@@ -36,7 +36,7 @@
keys[stuff_1] = dict()
self.split_stuff(keys[stuff_1], stuff_2, value)
else:
- if value:
+ if value is not None:
keys[stuff_1] = value
elif stuff_1 in keys:
del keys[stuff_1]
Show replies by date