Commit 56d55c34 authored by Vincent Pelletier's avatar Vincent Pelletier

addr and connector_handler parameters are mandatory to instantiate ClientConnection class.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@962 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 868be91a
......@@ -422,8 +422,7 @@ class Connection(BaseConnection):
class ClientConnection(Connection):
"""A connection from this node to a remote node."""
def __init__(self, event_manager, handler, addr = None,
connector_handler = None, **kw):
def __init__(self, event_manager, handler, addr, connector_handler, **kw):
self.connecting = True
Connection.__init__(self, event_manager, handler, addr = addr,
connector_handler = connector_handler)
......
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