[Idle-dev] CVS: idle rpc.py,1.10,1.11
Kurt B. Kaiser
kbk@users.sourceforge.net
Mon, 23 Dec 2002 14:51:06 -0800
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv24784
Modified Files:
rpc.py
Log Message:
Remove debugging connection message
Index: rpc.py
===================================================================
RCS file: /cvsroot/idlefork/idle/rpc.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** rpc.py 6 Dec 2002 21:45:24 -0000 1.10
--- rpc.py 23 Dec 2002 22:51:03 -0000 1.11
***************
*** 410,418 ****
def accept(self):
working_sock, address = self.listening_sock.accept()
if address[0] == '127.0.0.1':
- print>>sys.__stderr__, "Idle accepted connection from ", address
SocketIO.__init__(self, working_sock)
else:
! print>>sys.__stderr__, "Invalid host: ", address
raise socket.error
--- 410,419 ----
def accept(self):
working_sock, address = self.listening_sock.accept()
+ if self.debugging:
+ print>>sys.__stderr__, "** Connection request from ", address
if address[0] == '127.0.0.1':
SocketIO.__init__(self, working_sock)
else:
! print>>sys.__stderr__, "** Invalid host: ", address
raise socket.error