diff options
author | Lance Stout <lancestout@gmail.com> | 2011-01-14 12:07:25 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-14 12:07:25 -0500 |
commit | d7dea0c6ccdd769fb32229e8b719a7556b8e0643 (patch) | |
tree | 0dae87c25995ae0f446c66208e355e86ee238e0f | |
parent | 632827f213235ab33f08dc133cf50b2c9287cfd0 (diff) | |
download | slixmpp-d7dea0c6ccdd769fb32229e8b719a7556b8e0643.tar.gz slixmpp-d7dea0c6ccdd769fb32229e8b719a7556b8e0643.tar.bz2 slixmpp-d7dea0c6ccdd769fb32229e8b719a7556b8e0643.tar.xz slixmpp-d7dea0c6ccdd769fb32229e8b719a7556b8e0643.zip |
Add a note for debug statement when running scheduled events.
Fixes the intermittent DEBUG ((),) messages that give no
explanation.
Will now show as:
DEBUG Scheduled event: ((), )
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index d5c1043b..3cf28ed8 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -899,7 +899,7 @@ class XMLStream(object): args[0].exception(e) elif etype == 'schedule': try: - log.debug(args) + log.debug('Scheduled event: %s' % args) handler(*args[0]) except: log.exception('Error processing scheduled task') |