Author: eallen
Date: 2008-09-03 15:17:41 -0400 (Wed, 03 Sep 2008)
New Revision: 2395
Modified:
mgmt/trunk/cumin/python/wooly/parameters.py
Log:
Override get_default to return a new empty dictionary for DictParameter so multiple
browsers don't share the same values.
Modified: mgmt/trunk/cumin/python/wooly/parameters.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/parameters.py 2008-09-03 19:06:59 UTC (rev 2394)
+++ mgmt/trunk/cumin/python/wooly/parameters.py 2008-09-03 19:17:41 UTC (rev 2395)
@@ -44,6 +44,9 @@
def get_instance_key(self, key):
return DictParameter.sep().join((self.path, key))
+ def get_default(self, session):
+ return copy(self.default)
+
def clear(self):
self.default = dict()
Show replies by date