summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/socketse.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-06 20:19:59 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-06 20:19:59 (GMT)
commita11ccccd249c201df0224c84bbaacdb31496aa5b (patch)
treed5a3ed51586cbe829775209fa49f469935332782 /Lib/dos-8x3/socketse.py
parentd57548023fa61918e545c0c808625df4f43e6ad4 (diff)
downloadcpython-a11ccccd249c201df0224c84bbaacdb31496aa5b.zip
cpython-a11ccccd249c201df0224c84bbaacdb31496aa5b.tar.gz
cpython-a11ccccd249c201df0224c84bbaacdb31496aa5b.tar.bz2
The usual (and some new modules).
Diffstat (limited to 'Lib/dos-8x3/socketse.py')
-rwxr-xr-xLib/dos-8x3/socketse.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/dos-8x3/socketse.py b/Lib/dos-8x3/socketse.py
index ecd405f..049a4b6 100755
--- a/Lib/dos-8x3/socketse.py
+++ b/Lib/dos-8x3/socketse.py
@@ -248,12 +248,11 @@ class TCPServer:
The default is to print a traceback and continue.
"""
- exc, value, tb = sys.exc_type, sys.exc_value, sys.exc_traceback
print '-'*40
print 'Exception happened during processing of request from',
print client_address
import traceback
- traceback.print_exception(exc, value, tb)
+ traceback.print_exc()
print '-'*40