Commit 6910e589 authored by Vincent Pelletier's avatar Vincent Pelletier

Both addr and connection_handler are mandatory constructor parameters for a ListeningConnection.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@960 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 67d8699b
...@@ -126,8 +126,7 @@ class BaseConnection(object): ...@@ -126,8 +126,7 @@ class BaseConnection(object):
class ListeningConnection(BaseConnection): class ListeningConnection(BaseConnection):
"""A listen connection.""" """A listen connection."""
def __init__(self, event_manager, handler, addr = None, def __init__(self, event_manager, handler, addr, connector_handler, **kw):
connector_handler = None, **kw):
logging.debug('listening to %s:%d', *addr) logging.debug('listening to %s:%d', *addr)
BaseConnection.__init__(self, event_manager, handler, BaseConnection.__init__(self, event_manager, handler,
addr = addr, addr = addr,
......
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