[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/template.py Found one more case for prod_mode

Hanno Schlichting plone at hannosch.info
Sun Jun 15 08:38:04 EDT 2008


Log message for revision 87409:
  Found one more case for prod_mode
  

Changed:
  U   z3c.pt/trunk/src/z3c/pt/template.py

-=-
Modified: z3c.pt/trunk/src/z3c/pt/template.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/template.py	2008-06-15 12:37:51 UTC (rev 87408)
+++ z3c.pt/trunk/src/z3c/pt/template.py	2008-06-15 12:38:04 UTC (rev 87409)
@@ -52,7 +52,7 @@
         if template is None:
             self.registry[signature] = template = self.cook(kwargs.keys())
 
-        if not DEBUG_MODE:
+        if PROD_MODE:
             return template(**kwargs)
 
         return self.safe_render(template, **kwargs)



More information about the Checkins mailing list