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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Nov 4 12:47:50 CET 2010


Author: bh
Date: 2010-11-04 12:47:49 +0100 (Thu, 04 Nov 2010)
New Revision: 4126

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


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-11-04 11:27:09 UTC (rev 4125)
+++ base/trunk/ChangeLog	2010-11-04 11:47:49 UTC (rev 4126)
@@ -1,3 +1,7 @@
+2010-11-04  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/lib/navigation.py: Remove commented out code.
+
 2010-11-04  Roland Geider <roland.geider at intevation.de>
 
 	* mpulsweb/lib/evaluation.py,

Modified: base/trunk/mpulsweb/lib/navigation.py
===================================================================
--- base/trunk/mpulsweb/lib/navigation.py	2010-11-04 11:27:09 UTC (rev 4125)
+++ base/trunk/mpulsweb/lib/navigation.py	2010-11-04 11:47:49 UTC (rev 4126)
@@ -228,12 +228,6 @@
         out.append('%s' % ("".join(entry)))
         out.append(u'</td>')
 
-        # Free slots for markings
-        #out.append(u'<td class="%s">' % selected)
-        #out.append(u'</td>')
-        #out.append(u'<td class="%s">' % selected)
-        #out.append(u'</td>')
-
         # Error marking
         out.append(u'<td class="%s">' % selected)
         if has_error:
@@ -260,33 +254,6 @@
             lookup.add(self)
         return mark
 
-    #def get_description_chain(self, form_data):
-    #    cur = self
-    #    descriptions = []
-    #    while cur:
-    #        if cur.description:
-    #            descriptions.insert(0, u"%s%s" % (
-    #                escape(cur.description), form_data.getHelp(cur.name)))
-    #        cur = cur.parent
-    #    return descriptions
-
-    #def pureHeaders(self):
-    #    if self.parent:
-    #        for h in self.parent.pureHeaders():
-    #            yield h
-    #    if self.description:
-    #        yield self.description
-
-    #def renderHeader(self, form_data):
-    #    descriptions = self.get_description_chain(form_data)
-    #    if not descriptions: return u""
-    #    out = [u'<div id="content_ueberschrift"><ul>']
-    #    for depth, desc in enumerate(descriptions):
-    #        depth = min(depth + 1, 4)
-    #        out.append(u'<li><h%d>%s</h%d></li>' % (depth, desc, depth))
-    #    out.append(u'</ul></div>')
-    #    return u"".join(out)
-
     def nextKey(self):
         page = self.find_page()
         if not page:



More information about the Mpuls-commits mailing list