From a11ccccd249c201df0224c84bbaacdb31496aa5b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 6 Oct 1997 20:19:59 +0000 Subject: The usual (and some new modules). --- Lib/dos-8x3/socketse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/dos-8x3/socketse.py') diff --git a/Lib/dos-8x3/socketse.py b/Lib/dos-8x3/socketse.py index ecd405fe096..049a4b6cc77 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 -- cgit v1.2.3