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

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Aug 12 19:35:49 EDT 2008


Author: eallen
Date: 2008-08-12 19:35:49 -0400 (Tue, 12 Aug 2008)
New Revision: 2289

Modified:
   mgmt/trunk/cumin/python/wooly/parameters.py
Log:
Removed clear_on_add attribute in favor of post_process method

Modified: mgmt/trunk/cumin/python/wooly/parameters.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/parameters.py	2008-08-12 23:34:39 UTC (rev 2288)
+++ mgmt/trunk/cumin/python/wooly/parameters.py	2008-08-12 23:35:49 UTC (rev 2289)
@@ -8,18 +8,10 @@
 
         self.default = dict()
         self.is_dictionary = True
-        self.clear_on_add = False
 
-    def set_clear_on_add(self):
-        self.clear_on_add = True
-        
     def add(self, session, value, full_key):
         # full_key looks like <DictParameter.path>_<stuff>
 
-        if self.clear_on_add:
-            self.clear()
-            self.clear_on_add = False
-
         keys = self.get(session)
         
         # separate the DictParameter.path from the stuff




More information about the rhmessaging-commits mailing list