Commit d2aed947 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add missing space after operators. *NOT* found by pylint.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@950 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e1292c5a
...@@ -54,15 +54,15 @@ class EventHandler(object): ...@@ -54,15 +54,15 @@ class EventHandler(object):
def connectionStarted(self, conn): def connectionStarted(self, conn):
"""Called when a connection is started.""" """Called when a connection is started."""
logging.debug('connection started for %s:%d', *(conn.getAddress())) logging.debug('connection started for %s:%d', * (conn.getAddress()))
def connectionCompleted(self, conn): def connectionCompleted(self, conn):
"""Called when a connection is completed.""" """Called when a connection is completed."""
logging.debug('connection completed for %s:%d', *(conn.getAddress())) logging.debug('connection completed for %s:%d', * (conn.getAddress()))
def connectionFailed(self, conn): def connectionFailed(self, conn):
"""Called when a connection failed.""" """Called when a connection failed."""
logging.debug('connection failed for %s:%d', *(conn.getAddress())) logging.debug('connection failed for %s:%d', * (conn.getAddress()))
def connectionAccepted(self, conn, connector, addr): def connectionAccepted(self, conn, connector, addr):
"""Called when a connection is accepted.""" """Called when a connection is accepted."""
...@@ -74,11 +74,11 @@ class EventHandler(object): ...@@ -74,11 +74,11 @@ class EventHandler(object):
def timeoutExpired(self, conn): def timeoutExpired(self, conn):
"""Called when a timeout event occurs.""" """Called when a timeout event occurs."""
logging.debug('timeout expired for %s:%d', *(conn.getAddress())) logging.debug('timeout expired for %s:%d', * (conn.getAddress()))
def connectionClosed(self, conn): def connectionClosed(self, conn):
"""Called when a connection is closed by the peer.""" """Called when a connection is closed by the peer."""
logging.debug('connection closed for %s:%d', *(conn.getAddress())) logging.debug('connection closed for %s:%d', * (conn.getAddress()))
def packetReceived(self, conn, packet): def packetReceived(self, conn, packet):
"""Called when a packet is received.""" """Called when a packet is received."""
...@@ -87,7 +87,7 @@ class EventHandler(object): ...@@ -87,7 +87,7 @@ class EventHandler(object):
# XXX: what's the purpose of this method ? # XXX: what's the purpose of this method ?
def peerBroken(self, conn): def peerBroken(self, conn):
"""Called when a peer is broken.""" """Called when a peer is broken."""
logging.error('%s:%d is broken', *(conn.getAddress())) logging.error('%s:%d is broken', * (conn.getAddress()))
def packetMalformed(self, conn, packet, message='', *args): def packetMalformed(self, conn, packet, message='', *args):
"""Called when a packet is malformed.""" """Called when a packet is malformed."""
......
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