Commit 212ec1d1 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix logging of pending events.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2496 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 09767ca4
...@@ -337,9 +337,8 @@ class Application(object): ...@@ -337,9 +337,8 @@ class Application(object):
return return
neo.logging.info("Pending events:") neo.logging.info("Pending events:")
for event, _msg_id, _conn, args, _kwargs in self.event_queue: for event, _msg_id, _conn, args, _kwargs in self.event_queue:
oid, serial, _compression, _checksum, data, tid, time = args neo.logging.info(' %r: %r:%r %r %r', event.__name__, _msg_id,
neo.logging.info(' %r: %r:%r by %r -> %r (%r)', event.__name__, _conn, args, _kwargs)
dump(oid), dump(serial), dump(tid), data, time)
def shutdown(self, erase=False): def shutdown(self, erase=False):
"""Close all connections and exit""" """Close all connections and exit"""
......
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