summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-01-14 10:54:48 -0800
committerLance Stout <lancestout@gmail.com>2012-01-14 10:54:48 -0800
commitde35848500ac2a7774f0d723226a406bade4e82a (patch)
tree71dec63b362b019a5cebbd7d89d0c2ecfba03ba2 /sleekxmpp
parent1ae219025a3f3369a76dfd9c2ab3fea6c05bfccc (diff)
downloadslixmpp-de35848500ac2a7774f0d723226a406bade4e82a.tar.gz
slixmpp-de35848500ac2a7774f0d723226a406bade4e82a.tar.bz2
slixmpp-de35848500ac2a7774f0d723226a406bade4e82a.tar.xz
slixmpp-de35848500ac2a7774f0d723226a406bade4e82a.zip
Don't serialize XML unless we need to.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index d5029928..4c8696b3 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -1290,8 +1290,7 @@ class XMLStream(object):
if stanza is None:
return
- log.debug("RECV: %s", tostring(xml, xmlns=self.default_ns,
- stream=self))
+ log.debug("RECV: %s", stanza)
# Match the stanza against registered handlers. Handlers marked
# to run "in stream" will be executed immediately; the rest will