Commit 4bab86ad authored by Grégory Wisniewski's avatar Grégory Wisniewski

Propagate timeout and additional_timeout arguments.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1366 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8a9fed79
...@@ -410,7 +410,8 @@ class Connection(BaseConnection): ...@@ -410,7 +410,8 @@ class Connection(BaseConnection):
""" """
msg_id = self._getNextId() msg_id = self._getNextId()
packet.setId(msg_id) packet.setId(msg_id)
self.expectMessage(msg_id) self.expectMessage(msg_id, timeout=timeout,
additional_timeout=additional_timeout)
self._addPacket(packet) self._addPacket(packet)
return msg_id return msg_id
......
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