Commit 153676ac authored by Evan Simpson's avatar Evan Simpson

Format errors better.

parent ce202f14
......@@ -87,7 +87,7 @@
HTML- and XML-based template objects using TAL, TALES, and METAL.
"""
__version__='$Revision: 1.6 $'[11:-2]
__version__='$Revision: 1.7 $'[11:-2]
import os, sys, traceback
from TAL.TALParser import TALParser
......@@ -164,7 +164,7 @@ class PageTemplate:
def pt_diagnostic(self):
return ('<html><body>\n'
'<h4>Page Template Diagnostics</h4>\n'
' %s\n'
'<pre> %s\n</pre>'
'</body></html>\n') % join(self._v_errors, ' \n')
def write(self, text):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment