[Mpuls-commits] r4493 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 13 11:59:19 CET 2011


Author: torsten
Date: 2011-01-13 11:59:18 +0100 (Thu, 13 Jan 2011)
New Revision: 4493

Modified:
   base/trunk/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py (ViewRenderer._renderChoice): Fixed check for choice bool


Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2011-01-12 09:33:25 UTC (rev 4492)
+++ base/trunk/mpulsweb/lib/renderer.py	2011-01-13 10:59:18 UTC (rev 4493)
@@ -820,8 +820,8 @@
 
         # Check if the bool is within a choicelist
         if (isinstance(self._getMeta(parent), data.ChoiceNode)
-            or isinstance(self._getMeta(parent), data.GroupNode)
-            or isinstance(self._getMeta(parent), data.ConditionalNode)
+            or (isinstance(self._getMeta(parent), data.GroupNode)
+            or isinstance(self._getMeta(parent), data.ConditionalNode))
             and isinstance(self._getMeta(parentparent), data.ChoiceNode)):
             self._renderChoiceBool(bool)
 



More information about the Mpuls-commits mailing list