[Mpuls-commits] r1722 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 23 20:47:03 CET 2010
Author: bh
Date: 2010-02-23 20:47:02 +0100 (Tue, 23 Feb 2010)
New Revision: 1722
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py: Remove some commented out code.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-02-23 19:30:37 UTC (rev 1721)
+++ wasko/branches/2.0/ChangeLog 2010-02-23 19:47:02 UTC (rev 1722)
@@ -1,5 +1,9 @@
2010-02-23 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/renderer.py: Remove some commented out code.
+
+2010-02-23 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/renderer.py (Div.__init__, Item.__init__): Removed.
The base class constructor has the same effect as these methods.
Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-23 19:30:37 UTC (rev 1721)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-23 19:47:02 UTC (rev 1722)
@@ -163,9 +163,6 @@
self.stateStack = []
self.containersStack = [[Container(None)]]
- #for item in self.page.getChildren():
- # self._renderChild(item)
- #self._renderChild(self.page)
self._renderPage(self.page)
out.append(self.containersStack[-1][0].render())
@@ -584,8 +581,6 @@
selected = ""
out = ""
- #print "render %s" % name
-
try:
toSelect = self.stateStack[-1]
except:
@@ -880,7 +875,6 @@
for k, v in self.error_items.iteritems():
element = tree.getFormEd().findByName(k.split(':')[0])
- #print element
description = element.getDescription()
out.append('<li><a href="/formularpage/undo/%s">' % k)
out.append('<img src="/images/icons/formular/undo.png"'
@@ -901,7 +895,6 @@
for k, v in self.warnings.iteritems():
element = tree.getFormEd().findByName(k.split(':')[0])
- #print element
description = element.getDescription()
out.append('<li><a href="/formularpage/undo/%s">' % k)
out.append('<img src="/images/icons/formular/undo.png"'
More information about the Mpuls-commits
mailing list