Commit dcb76e60 authored by Vincent Pelletier's avatar Vincent Pelletier

Log message requires access to packet.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@701 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent c9a147bf
No related merge requests found
......@@ -259,9 +259,10 @@ class Connection(BaseConnection):
"""
Process a pending packet.
"""
packet = self._dequeue()
logging.debug('analyse #0x%04x %-30s from %s (%s:%d)', packet.getId(),
packet.getType(), dump(self.uuid), *self.getAddress())
self.handler.packetReceived(self, self._dequeue())
self.handler.packetReceived(self, packet)
def pending(self):
return self.connector is not None and self.write_buf
......
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