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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 18 20:09:27 CET 2010


Author: bh
Date: 2010-03-18 20:09:26 +0100 (Thu, 18 Mar 2010)
New Revision: 2011

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py (ViewRenderer._renderChild): Log a
debug message if a child will be ignored unexpectedly.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-03-18 14:18:42 UTC (rev 2010)
+++ wasko/branches/2.0/ChangeLog	2010-03-18 19:09:26 UTC (rev 2011)
@@ -1,3 +1,8 @@
+2010-03-18  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/lib/renderer.py (ViewRenderer._renderChild): Log a
+	debug message if a child will be ignored unexpectedly.
+
 2010-03-18  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* mpulsweb/config/routing.py: Added new route for new controller to

Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-03-18 14:18:42 UTC (rev 2010)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-03-18 19:09:26 UTC (rev 2011)
@@ -806,6 +806,8 @@
             self._renderDate(child)
         elif isinstance(meta, data.ExternalChoiceListLeaf):
             self._renderExternalChoiceList(child)
+        else:
+            log.debug("Unhandled child %r", child)
 
     def _renderRecursive(self, node, doBreak=True, Cont=Container):
         meta = self._getMeta(node)



More information about the Mpuls-commits mailing list