[Mpuls-commits] r1721 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 23 20:30:37 CET 2010
Author: bh
Date: 2010-02-23 20:30:37 +0100 (Tue, 23 Feb 2010)
New Revision: 1721
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* 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/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-02-23 19:27:19 UTC (rev 1720)
+++ wasko/branches/2.0/ChangeLog 2010-02-23 19:30:37 UTC (rev 1721)
@@ -1,5 +1,10 @@
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.
+
+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>
Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-23 19:27:19 UTC (rev 1720)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-23 19:30:37 UTC (rev 1721)
@@ -80,18 +80,12 @@
class Div(Text):
- def __init__(self, txt):
- Text.__init__(self, txt)
-
def render(self, target, width=""):
return '<td width="%s">%s</td>\n' % ("%s%%" % width, self.txt)
class Item(Text):
- def __init__(self, txt):
- Text.__init__(self, txt)
-
def render(self, target, width="100"):
width = width or "100"
return '<td width="%s">%s</td>\n' % ("%s%%" % width, self.txt)
More information about the Mpuls-commits
mailing list