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

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Feb 21 13:34:13 EST 2008


Author: justi9
Date: 2008-02-21 13:34:13 -0500 (Thu, 21 Feb 2008)
New Revision: 1717

Modified:
   mgmt/cumin/python/wooly/__init__.py
Log:
Check for empy param.widget so that parameters can be used to describe
list elements.



Modified: mgmt/cumin/python/wooly/__init__.py
===================================================================
--- mgmt/cumin/python/wooly/__init__.py	2008-02-21 17:15:49 UTC (rev 1716)
+++ mgmt/cumin/python/wooly/__init__.py	2008-02-21 18:34:13 UTC (rev 1717)
@@ -494,7 +494,8 @@
             index = dict()
 
             for param in self.parameters:
-                index[(param.widget.page(), param.path())] = param
+                if param.widget:
+                    index[(param.widget.page(), param.path())] = param
 
             self.parameter_index = index
 




More information about the rhmessaging-commits mailing list