Commit 89aa471a authored by Vincent Pelletier's avatar Vincent Pelletier

Fix a line inversion.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@902 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6c2dcc1a
......@@ -410,8 +410,8 @@ class Connection(BaseConnection):
def ping(self, timeout=5):
""" Send a ping and expect to receive a pong notification """
packet = protocol.ping()
packet.setId(msg_id)
msg_id = self._getNextId()
packet.setId(msg_id)
self.expectMessage(msg_id, timeout, 0)
self._addPacket(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