[Mpuls-commits] r1527 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Feb 12 09:40:07 CET 2010


Author: torsten
Date: 2010-02-12 09:40:03 +0100 (Fri, 12 Feb 2010)
New Revision: 1527

Modified:
   wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py: Removed some debugging output.


Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-02-11 19:23:14 UTC (rev 1526)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-02-12 08:40:03 UTC (rev 1527)
@@ -126,8 +126,6 @@
 class ViewRenderer:
 
     def __init__(self, it=None, page=None, ro_mode=True):
-        log.debug(page)
-        log.debug(page.getIdentifier())
         self.it              = it # instancetree
         self.page            = page
         self.stateStack      = None
@@ -213,10 +211,7 @@
         meta = self._getMeta(node)
 
         out = []
-        log.debug('Search help')
-        log.debug('Annotations: %s' % meta.getAnnotations(['help', 'requiered', 'evaluation']))
         if meta.hasHelp():
-            log.debug('Found help')
             out.append('<a href="/annotations/help/%s" target="_blank"><img src="/images/icons/formular/help.png" alt="help"></a>' % meta.getName())
         if meta.hasRequired():
             out.append('<a href="/annotations/required/%s" target="_blank"><img src="/images/icons/formular/required.png" alt="required"></a>' % meta.getName())



More information about the Mpuls-commits mailing list