[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPResponse.py:1.59
Andreas Jung
andreas@digicool.com
Fri, 12 Apr 2002 13:27:45 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv5679/lib/python/ZPublisher
Modified Files:
HTTPResponse.py
Log Message:
reverted checkin for new env var LOG_ZPUBLISHER_TRACEBACK because
Shanes traceback patches provide a much better functionality.
=== Zope/lib/python/ZPublisher/HTTPResponse.py 1.58 => 1.59 ===
import types, os, sys, re
-import zLOG
from string import translate, maketrans
from types import StringType, InstanceType, LongType, UnicodeType
from BaseResponse import BaseResponse
@@ -609,10 +608,6 @@
(str(t), b + self._traceback(t,'(see above)', tb, 0)),
is_error=1)
del tb
-
- if os.environ.has_key('LOG_ZPUBLISHER_TRACEBACK'):
- zLOG.LOG('zpublisher',zLOG.WARNING,'Traceback:',body)
-
return body
_wrote=None