Commit 0d14fa9f authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix peerBroken call.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1990 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d922dd9c
......@@ -117,7 +117,7 @@ class HandlerSwitcher(object):
notification = Packets.Notify('Unexpected answer: %r' % packet)
self._connection.notify(notification)
self._connection.abort()
handler.peerBroken()
handler.peerBroken(self._connection)
def setHandler(self, handler):
if len(self._pending) == 1 and not self._pending[0][0]:
......
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