Author: eallen
Date: 2008-09-11 17:47:27 -0400 (Thu, 11 Sep 2008)
New Revision: 2454
Modified:
mgmt/trunk/cumin/python/wooly/__init__.py
Log:
Added pre_render so hidden columns can be shown
Modified: mgmt/trunk/cumin/python/wooly/__init__.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/__init__.py 2008-09-11 21:20:10 UTC (rev 2453)
+++ mgmt/trunk/cumin/python/wooly/__init__.py 2008-09-11 21:47:27 UTC (rev 2454)
@@ -226,7 +226,11 @@
return string
+ def pre_render(self, session, *args):
+ pass
+
def do_render(self, session, *args):
+ self.pre_render(session, *args)
writer = Writer()
self.__main_tmpl.render(writer, session, *args)
return writer.to_string()