[Zope-Checkins] CVS: Zope/lib/python/OFS - SimpleItem.py:1.96
Shane Hathaway
shane@cvs.zope.org
Thu, 4 Apr 2002 11:24:36 -0500
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv19918/lib/python/OFS
Modified Files:
SimpleItem.py
Log Message:
We have to use str() instead of repr() because the error value can be HTML. Ugh.
=== Zope/lib/python/OFS/SimpleItem.py 1.95 => 1.96 ===
LOG('OFS', ERROR, 'Exception while rendering an error message',
error=sys.exc_info())
- v = repr(error_value) + (
+ v = str(error_value) + (
" (Also, an error occurred while attempting "
"to render the standard error message.)")
raise error_type, v, tb