[Mpuls-commits] r1720 - in wasko/branches/2.0: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 23 20:27:19 CET 2010


Author: bh
Date: 2010-02-23 20:27:19 +0100 (Tue, 23 Feb 2010)
New Revision: 1720

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py: Some more formatting fixes.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-23 19:20:09 UTC (rev 1719)
+++ wasko/branches/2.0/ChangeLog	2010-02-23 19:27:19 UTC (rev 1720)
@@ -1,5 +1,9 @@
 2010-02-23  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/lib/renderer.py: Some more formatting fixes.
+
+2010-02-23  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/lib/helper/filters.py (no_none, NA): Simplify check for
 	empty value.  Now both functions use the same test.
 	There's no need to check for the unicode variants explicitly

Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-02-23 19:20:09 UTC (rev 1719)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-02-23 19:27:19 UTC (rev 1720)
@@ -363,7 +363,7 @@
             out.append(self._renderRecursive(child))
             out.append('</td>')
             out.append('</tr>')
-            break;
+            break
         out.append('<tr>')
         out.append('<td class="hcontrol">')
         out.append('<a name="%s" href="/repeatgroup/select_first/%s">'
@@ -567,7 +567,7 @@
         out.append('</select>')
         out.append('<br>')
         out.append(self._renderErrors(node))
-        self.toTarget(Item("".join(out)), meta.getTarget());
+        self.toTarget(Item("".join(out)), meta.getTarget())
 
     def _renderChoiceGroup(self, choice):
         meta = self._getMeta(choice)
@@ -579,7 +579,7 @@
         out.append(self._renderRecursive(meta, False, ChoiceContainer))
         if not self.ro_mode:
             out.append("</optgroup>\n")
-        self.toTarget(Text("".join(out)), meta.getTarget());
+        self.toTarget(Text("".join(out)), meta.getTarget())
 
     def _renderChoiceBool(self, bool):
         meta = self._getMeta(bool)
@@ -615,7 +615,7 @@
         else:
             out = "<option %s %s>%s</option>\n" % (value, selected, description)
 
-        self.toTarget(Text(out), meta.getTarget());
+        self.toTarget(Text(out), meta.getTarget())
 
     def _renderMatrix(self, node):
         meta = self._getMeta(node)
@@ -682,7 +682,7 @@
         out.append('</tr>')
         out.append('</table>')
         out.append('<br>')
-        self.toTarget(Item("".join(out)), meta.getTarget());
+        self.toTarget(Item("".join(out)), meta.getTarget())
 
     def _renderPage(self, page):
         out = []



More information about the Mpuls-commits mailing list