summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-14 12:07:25 -0500
committerLance Stout <lancestout@gmail.com>2011-01-14 12:07:25 -0500
commitd7dea0c6ccdd769fb32229e8b719a7556b8e0643 (patch)
tree0dae87c25995ae0f446c66208e355e86ee238e0f /sleekxmpp/xmlstream/xmlstream.py
parent632827f213235ab33f08dc133cf50b2c9287cfd0 (diff)
downloadslixmpp-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: ((), )
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
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')