[Zope-Checkins] CVS: Zope/lib/python/ZLogger - stupidFileLogger.py:1.9.2.1
Shane Hathaway
shane@cvs.zope.org
Tue, 2 Apr 2002 18:02:46 -0500
Update of /cvs-repository/Zope/lib/python/ZLogger
In directory cvs.zope.org:/tmp/cvs-serv31911
Modified Files:
Tag: shane-better-tracebacks-branch
stupidFileLogger.py
Log Message:
Updated to correct signature of format_exception().
=== Zope/lib/python/ZLogger/stupidFileLogger.py 1.9 => 1.9.2.1 ===
if error:
try:
- _stupid_dest.write(format_exception(
+ _stupid_dest.write(''.join(format_exception(
error[0], error[1], error[2],
- trailer='\n', limit=100))
+ limit=100)))
except:
_stupid_dest.write("%s: %s\n" % error[:2])
_stupid_dest.flush()