[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/PageTemplate.py
continue whack-a-mole'ing useless pagetemplate errors.
Chris Withers
chris at simplistix.co.uk
Fri Dec 2 10:58:14 EST 2005
Log message for revision 40480:
continue whack-a-mole'ing useless pagetemplate errors.
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/PageTemplate.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/PageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/PageTemplate.py 2005-12-02 15:54:13 UTC (rev 40479)
+++ Zope/trunk/lib/python/Products/PageTemplates/PageTemplate.py 2005-12-02 15:58:14 UTC (rev 40480)
@@ -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