summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-02-03 18:23:05 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-02-03 18:23:05 (GMT)
commit2f7b286a8ce74fbfaa8d2170d457308c6a62e870 (patch)
treeac6f4163f67f429976d8dacda3c08ccf1e7be1bc
parentf2bf8a6ac51530e14d798a03c8e950dd934d85cd (diff)
downloadcpython-2f7b286a8ce74fbfaa8d2170d457308c6a62e870.zip
cpython-2f7b286a8ce74fbfaa8d2170d457308c6a62e870.tar.gz
cpython-2f7b286a8ce74fbfaa8d2170d457308c6a62e870.tar.bz2
Revert fix for #13807 mistakenly applied in this branch.
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index f70dfb5..685efeb 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -721,7 +721,7 @@ class Handler(Filterer):
You could, however, replace this with a custom handler if you wish.
The record which was being processed is passed in to this method.
"""
- if raiseExceptions and sys.stderr: # see issue 13807
+ if raiseExceptions:
ei = sys.exc_info()
try:
traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)