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):
return
neo.logging.info("Pending events:")
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 by %r -> %r (%r)', event.__name__,
dump(oid), dump(serial), dump(tid), data, time)
neo.logging.info(' %r: %r:%r %r %r', event.__name__, _msg_id,
_conn, args, _kwargs)
def shutdown(self, erase=False):
"""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