[Zope-Checkins]
SVN: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py
continue whack-a-mole'ing useless pagetemplate errors.
Chris Withers
chris at simplistix.co.uk
Fri Dec 2 11:24:22 EST 2005
Log message for revision 40481:
continue whack-a-mole'ing useless pagetemplate errors.
Changed:
U Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py
-=-
Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py 2005-12-02 15:58:14 UTC (rev 40480)
+++ Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py 2005-12-02 16:24:21 UTC (rev 40481)
@@ -131,7 +131,11 @@
self._cook()
if self._v_errors:
__traceback_supplement__ = (PageTemplateTracebackSupplement, self)
- raise PTRuntimeError, 'Page Template %s has errors.' % self.id
+ raise PTRuntimeError, (
+ 'Page Template %s has errors: %s' % (
+ self.id,
+ self._v_errors
+ ))
return self._v_macros
def pt_source_file(self):
More information about the Zope-Checkins
mailing list