[Zodb-checkins] CVS: ZODB3/zLOG - MinimalLogger.py:1.17.2.1
Guido van Rossum
guido@python.org
Thu, 31 Oct 2002 12:39:20 -0500
Update of /cvs-repository/ZODB3/zLOG
In directory cvs.zope.org:/tmp/cvs-serv4017
Modified Files:
Tag: ZODB3-3_1-branch
MinimalLogger.py
Log Message:
Backport 1.18 from trunk:
Fix a silly "except '':" clause. This should have been "except:" -- I
must've used this to disable the exception handling temporarily to
debug the exception formatting machinery, and forgotten to re-enable
it before checking in.
=== ZODB3/zLOG/MinimalLogger.py 1.17 => 1.17.2.1 ===
--- ZODB3/zLOG/MinimalLogger.py:1.17 Fri Sep 27 12:14:40 2002
+++ ZODB3/zLOG/MinimalLogger.py Thu Oct 31 12:39:20 2002
@@ -99,7 +99,7 @@
lines = format_exception(error[0], error[1], error[2],
limit=100)
buf.append(''.join(lines))
- except '':
+ except:
buf.append("%s: %s" % error[:2])
if buf[-1] and buf[-1][-1] != "\n":