summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorTom Nichols <tmnichols@gmail.com>2010-07-01 15:11:02 -0400
committerTom Nichols <tmnichols@gmail.com>2010-07-01 15:11:02 -0400
commitdd9f33b7d96c9d69e194d976044be28ce26c34e1 (patch)
tree96d31be1340b773c8e7a8af3cb945a1322c3e85d /sleekxmpp
parent0a23f84ec328898aad2c723128471f42a1f12022 (diff)
downloadslixmpp-dd9f33b7d96c9d69e194d976044be28ce26c34e1.tar.gz
slixmpp-dd9f33b7d96c9d69e194d976044be28ce26c34e1.tar.bz2
slixmpp-dd9f33b7d96c9d69e194d976044be28ce26c34e1.tar.xz
slixmpp-dd9f33b7d96c9d69e194d976044be28ce26c34e1.zip
removed some superfluous debug logging
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/xmlstream/handler/callback.py4
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py4
2 files changed, 4 insertions, 4 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,))
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index b669a31d..2e7f8724 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -352,11 +352,11 @@ class XMLStream(object):
# TODO inefficient linear search; performance might be improved by hashtable lookup
for handler in self.__handlers:
if handler.match(stanza):
- logging.debug('matched stanza to handler %s', handler.name)
+# logging.debug('matched stanza to handler %s', handler.name)
handler.prerun(stanza)
self.eventqueue.put(('stanza', handler, stanza))
if handler.checkDelete():
- logging.debug('deleting callback %s', handler.name)
+# logging.debug('deleting callback %s', handler.name)
self.__handlers.pop(self.__handlers.index(handler))
unhandled = False
if unhandled: