mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Don't serialize XML unless we need to.
This commit is contained in:
parent
1ae219025a
commit
de35848500
1 changed files with 1 additions and 2 deletions
|
@ -1290,8 +1290,7 @@ class XMLStream(object):
|
||||||
if stanza is None:
|
if stanza is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
log.debug("RECV: %s", tostring(xml, xmlns=self.default_ns,
|
log.debug("RECV: %s", stanza)
|
||||||
stream=self))
|
|
||||||
|
|
||||||
# Match the stanza against registered handlers. Handlers marked
|
# Match the stanza against registered handlers. Handlers marked
|
||||||
# to run "in stream" will be executed immediately; the rest will
|
# to run "in stream" will be executed immediately; the rest will
|
||||||
|
|
Loading…
Reference in a new issue