[Zope-Checkins] CVS: Zope3/lib/python/Zope/Testing - __init__.py:1.3.38.7

Shane Hathaway shane@cvs.zope.org
Mon, 15 Apr 2002 11:36:13 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Testing
In directory cvs.zope.org:/tmp/cvs-serv18529

Modified Files:
      Tag: Zope-3x-branch
	__init__.py 
Log Message:
Changed default policy for tracebacks--we need the filenames.


=== Zope3/lib/python/Zope/Testing/__init__.py 1.3.38.6 => 1.3.38.7 ===
     traceback.format_exception = format_exception
 
-# Use the new exception formatter by default, its useful!
-if os.environ.get('NEW_EXCEPTION_FORMATTER', 1):
+# Don't use the new exception formatter by default, since it
+# doesn't show filenames.
+if os.environ.get('NEW_ZOPE_EXCEPTION_FORMATTER', 0):
     patchTracebackModule()