[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py Merge r41209 from trunk (use proper call signature for logging, not zLOG)

Paul Winkler slinkp at gmail.com
Tue Jun 3 18:15:20 EDT 2008


Log message for revision 87132:
  Merge r41209 from trunk (use proper call signature for logging, not zLOG)
  

Changed:
  U   Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py

-=-
Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py	2008-06-03 17:42:05 UTC (rev 87131)
+++ Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py	2008-06-03 22:15:18 UTC (rev 87132)
@@ -149,7 +149,7 @@
         self.pt_edit(text, t)
         self._cook()
         if self._v_errors:
-            LOG.error('Error in template', '\n'.join(self._v_errors))
+            LOG.error('Error in template %s' % '\n'.join(self._v_errors))
             return
         self._v_last_read = mtime
 



More information about the Zope-Checkins mailing list