diff options
author | Thom Nichols <tmnichols@gmail.com> | 2010-07-01 17:06:50 -0400 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-07-01 17:06:50 -0400 |
commit | ba9633f8f7ef86c73dd02ad316e7963447a6239b (patch) | |
tree | 9f4e961fca1fe71a94a443d6e6cb20eafd655d9f /sleekxmpp/xmlstream/handler/callback.py | |
parent | 5d87a54913a502b027d4df657a0da1a07a465d7d (diff) | |
parent | 065a164223f1cb2df32e438da20b370dc5091578 (diff) | |
download | slixmpp-ba9633f8f7ef86c73dd02ad316e7963447a6239b.tar.gz slixmpp-ba9633f8f7ef86c73dd02ad316e7963447a6239b.tar.bz2 slixmpp-ba9633f8f7ef86c73dd02ad316e7963447a6239b.tar.xz slixmpp-ba9633f8f7ef86c73dd02ad316e7963447a6239b.zip |
Merge branch 'hacks' of github.com:tomstrummer/SleekXMPP into hacks
Diffstat (limited to 'sleekxmpp/xmlstream/handler/callback.py')
-rw-r--r-- | sleekxmpp/xmlstream/handler/callback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/handler/callback.py b/sleekxmpp/xmlstream/handler/callback.py index ea5acb5b..7b8c98d2 100644 --- a/sleekxmpp/xmlstream/handler/callback.py +++ b/sleekxmpp/xmlstream/handler/callback.py @@ -20,12 +20,12 @@ class Callback(base.BaseHandler): def prerun(self, payload): # prerun actually calls run?!? WTF! Then it gets run AGAIN! base.BaseHandler.prerun(self, payload) if self._instream: - logging.debug('callback "%s" prerun', self.name) +# logging.debug('callback "%s" prerun', self.name) self.run(payload, True) def run(self, payload, instream=False): if not self._instream or instream: - logging.debug('callback "%s" run', self.name) +# logging.debug('callback "%s" run', self.name) base.BaseHandler.run(self, payload) #if self._thread: # x = threading.Thread(name="Callback_%s" % self.name, target=self._pointer, args=(payload,)) |