summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-03-22 20:11:14 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-03-22 20:11:14 (GMT)
commit0529377cdfd6912a2450239c1b52ae53b09e1658 (patch)
tree861a7046455c1b8ea2e3493e99de190ec8c34dc8 /Lib
parent11c53e2ea7f7d2a2969c98e81c1489c4e72254c4 (diff)
downloadcpython-0529377cdfd6912a2450239c1b52ae53b09e1658.zip
cpython-0529377cdfd6912a2450239c1b52ae53b09e1658.tar.gz
cpython-0529377cdfd6912a2450239c1b52ae53b09e1658.tar.bz2
Correct error in last checkin noticed by Neal Norwitz. And some more.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/rpc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index 8bbc214..15946a6 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -101,17 +101,17 @@ class RPCServer(SocketServer.TCPServer):
except EOFError:
pass
except:
- erf = 'sys.__stderr__'
- print>>erf, '-'*40
+ erf = sys.__stderr__
+ print>>erf, '\n' + '-'*40
print>>erf, 'Unhandled server exception!'
print>>erf, 'Thread: %s' % threading.currentThread().getName()
- print>>erf, 'Client Address: ', address
+ print>>erf, 'Client Address: ', client_address
print>>erf, 'Request: ', repr(request)
traceback.print_exc(file=erf)
print>>erf, '\n*** Unrecoverable, server exiting!'
print>>erf, '-'*40
import os
- os._exit
+ os._exit(0)
objecttable = {}