Commit 6445101c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a logging message and the related try/finally block.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1520 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3ac8eab4
......@@ -17,7 +17,6 @@
import socket
import errno
from neo import logging
# Global connector registry.
# Fill by calling registerConnectorHandler.
......@@ -62,7 +61,6 @@ class SocketConnector:
def makeClientConnection(self, addr):
self.is_closed = False
self.remote_addr = addr
try:
try:
self.socket.connect(addr)
except socket.error, (err, errmsg):
......@@ -72,9 +70,6 @@ class SocketConnector:
raise ConnectorConnectionRefusedException
raise ConnectorException, 'makeClientConnection to %s failed:' \
' %s:%s' % (addr, err, errmsg)
finally:
logging.debug('%r connecting to %r', self.socket.getsockname(),
addr)
def makeListeningConnection(self, addr):
self.is_closed = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment