Commit bdf21345 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove log line prefixes, as they are not in sync with the method name containing them.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@740 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 94350c6f
......@@ -262,7 +262,7 @@ class Connection(BaseConnection):
Process a pending packet.
"""
packet = self._dequeue()
logging.debug('analyse #0x%04x %-30s from %s (%s:%d)', packet.getId(),
logging.debug('#0x%04x %-30s from %s (%s:%d)', packet.getId(),
packet.getType(), dump(self.uuid), *self.getAddress())
self.handler.packetReceived(self, packet)
......@@ -330,7 +330,7 @@ class Connection(BaseConnection):
if self.connector is None:
return
logging.debug('adding #0x%04x %-30s to %s (%s:%d)', packet.getId(),
logging.debug('#0x%04x %-30s to %s (%s:%d)', packet.getId(),
packet.getType(), dump(self.uuid), *self.getAddress())
try:
self.write_buf += packet.encode()
......
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