diff options
| author | Kurt B. Kaiser <kbk@shore.net> | 2002-12-23 22:51:03 (GMT) | 
|---|---|---|
| committer | Kurt B. Kaiser <kbk@shore.net> | 2002-12-23 22:51:03 (GMT) | 
| commit | 74d93c81c190f9dfd7302e17536a49b8dd4f7da6 (patch) | |
| tree | da791a3b9872d66cc035f9effd8cfd9cf4911eba /Lib/idlelib/rpc.py | |
| parent | 234d0744466c17edb4440c766f02f6a6c955235b (diff) | |
| download | cpython-74d93c81c190f9dfd7302e17536a49b8dd4f7da6.zip cpython-74d93c81c190f9dfd7302e17536a49b8dd4f7da6.tar.gz cpython-74d93c81c190f9dfd7302e17536a49b8dd4f7da6.tar.bz2  | |
Remove debugging connection message
Diffstat (limited to 'Lib/idlelib/rpc.py')
| -rw-r--r-- | Lib/idlelib/rpc.py | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index 3f1a746..53e524b 100644 --- a/Lib/idlelib/rpc.py +++ b/Lib/idlelib/rpc.py @@ -409,11 +409,12 @@ class RPCClient(SocketIO):      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': -            print>>sys.__stderr__, "Idle accepted connection from ", address              SocketIO.__init__(self, working_sock)          else: -            print>>sys.__stderr__, "Invalid host: ", address +            print>>sys.__stderr__, "** Invalid host: ", address              raise socket.error      def get_remote_proxy(self, oid):  | 
