[Idle-dev] CVS: idle rpc.py,1.21,1.22
Kurt B. Kaiser
kbk@users.sourceforge.net
Sat, 22 Mar 2003 12:11:17 -0800
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv4340
Modified Files:
rpc.py
Log Message:
Correct error in last checkin noticed by Neal Norwitz. And some more.
Index: rpc.py
===================================================================
RCS file: /cvsroot/idlefork/idle/rpc.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** rpc.py 22 Mar 2003 19:15:58 -0000 1.21
--- rpc.py 22 Mar 2003 20:11:14 -0000 1.22
***************
*** 102,110 ****
pass
except:
! erf = 'sys.__stderr__'
! print>>erf, '-'*40
print>>erf, 'Unhandled server exception!'
print>>erf, 'Thread: %s' % threading.currentThread().getName()
! print>>erf, 'Client Address: ', address
print>>erf, 'Request: ', repr(request)
traceback.print_exc(file=erf)
--- 102,110 ----
pass
except:
! erf = sys.__stderr__
! print>>erf, '\n' + '-'*40
print>>erf, 'Unhandled server exception!'
print>>erf, 'Thread: %s' % threading.currentThread().getName()
! print>>erf, 'Client Address: ', client_address
print>>erf, 'Request: ', repr(request)
traceback.print_exc(file=erf)
***************
*** 112,116 ****
print>>erf, '-'*40
import os
! os._exit
--- 112,116 ----
print>>erf, '-'*40
import os
! os._exit(0)