Commit 2f68f55e authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add missing parameters to monkey patch method.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1422 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1c8a9efa
...@@ -30,7 +30,7 @@ from neo.connection import ClientConnection ...@@ -30,7 +30,7 @@ from neo.connection import ClientConnection
def _addPacket(self, packet): def _addPacket(self, packet):
if self.connector is not None: if self.connector is not None:
self.connector._addPacket(packet) self.connector._addPacket(packet)
def expectMessage(self, packet): def expectMessage(self, packet, timeout=5, additional_timeout=30):
if self.connector is not None: if self.connector is not None:
self.connector.expectMessage(packet) self.connector.expectMessage(packet)
......
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