[Mpuls-commits] r3208 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jul 20 19:43:59 CEST 2010


Author: bh
Date: 2010-07-20 19:43:57 +0200 (Tue, 20 Jul 2010)
New Revision: 3208

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py: Remove unused code and commented out
code


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-07-20 13:47:07 UTC (rev 3207)
+++ base/trunk/ChangeLog	2010-07-20 17:43:57 UTC (rev 3208)
@@ -1,3 +1,8 @@
+2010-07-20  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/lib/renderer.py: Remove unused code and commented out
+	code
+
 2010-07-20  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* mpulsweb/controllers/evaluate.py

Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2010-07-20 13:47:07 UTC (rev 3207)
+++ base/trunk/mpulsweb/lib/renderer.py	2010-07-20 17:43:57 UTC (rev 3208)
@@ -612,10 +612,7 @@
     def _renderPlainBool(self, node):
         meta = self._getMeta(node)
         id = node.getIdentifier()
-        mvalue = meta.getValue()
         value = node.getValue()
-        #checked = self.stateStack[-1] == value and "checked" or ""
-        #print "mvalue: %s value: %s" % (mvalue, value)
         out = []
         out.append(tag("input", type="checkbox", class_="checkbox",
                        id=id, name=id, value="1", disabled=self.ro_mode,



More information about the Mpuls-commits mailing list