always wrap a traceback in <pre> tags

This commit is contained in:
Mike Bonnet 2009-02-06 17:27:38 -05:00
parent 6b8a183ac1
commit 55761eacbd

View file

@ -269,13 +269,13 @@
<th>Result</th>
<td>
#if $excClass
#if $hasattr($result, 'faultString')
<pre>
#if $hasattr($result, 'faultString')
$cgi.escape($result.faultString.strip())
</pre>
#else
${excClass.__name__}: $cgi.escape($str($result))
${excClass.__name__}: $cgi.escape($str($result))
#end if
</pre>
#elif $isinstance($result, dict)
$printMap($result)
#else