[Zodb-checkins] CVS: ZODB3/zLOG - MinimalLogger.py:1.18

Guido van Rossum guido@python.org
Thu, 31 Oct 2002 12:37:25 -0500


Update of /cvs-repository/ZODB3/zLOG
In directory cvs.zope.org:/tmp/cvs-serv3774

Modified Files:
	MinimalLogger.py 
Log Message:
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.

Unfortunately, this made it into the ZODB 3.1 release, making this a
3.1.1 backport candidate.


=== ZODB3/zLOG/MinimalLogger.py 1.17 => 1.18 ===
--- ZODB3/zLOG/MinimalLogger.py:1.17	Fri Sep 27 12:14:40 2002
+++ ZODB3/zLOG/MinimalLogger.py	Thu Oct 31 12:37:24 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":