[Zodb-checkins] CVS: ZODB3/zLOG - MinimalLogger.py:1.19 __init__.py:1.9 FormatException.py:NONE
Guido van Rossum
guido@python.org
Mon, 4 Nov 2002 16:38:44 -0500
Update of /cvs-repository/ZODB3/zLOG
In directory cvs.zope.org:/tmp/cvs-serv30781
Modified Files:
MinimalLogger.py __init__.py
Removed Files:
FormatException.py
Log Message:
Remove FormatException. Always use traceback.format_exception.
(__init__.py still makes format_exception available; is this needed?)
=== ZODB3/zLOG/MinimalLogger.py 1.18 => 1.19 ===
--- ZODB3/zLOG/MinimalLogger.py:1.18 Thu Oct 31 12:37:24 2002
+++ ZODB3/zLOG/MinimalLogger.py Mon Nov 4 16:38:43 2002
@@ -20,7 +20,7 @@
except ImportError:
textwrap = None
-from FormatException import format_exception
+from traceback import format_exception
def severity_string(severity, mapping={
-300: 'TRACE',
=== ZODB3/zLOG/__init__.py 1.8 => 1.9 ===
--- ZODB3/zLOG/__init__.py:1.8 Wed Aug 14 18:12:33 2002
+++ ZODB3/zLOG/__init__.py Mon Nov 4 16:38:43 2002
@@ -90,7 +90,7 @@
from MinimalLogger import log_write, log_time, severity_string, \
_set_log_dest, initialize
-from FormatException import format_exception
+from traceback import format_exception
# Standard severities
TRACE = -300
=== Removed File ZODB3/zLOG/FormatException.py ===