summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-12-29 18:41:09 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-12-29 18:41:09 +0100
commitdf4012e66d91e868cf7e5326d80305a8cf7918e0 (patch)
tree936319227c1660ac086f8648633e27605aa8d363
parentc372f3071aca66c964971df6b6b148a93477588d (diff)
downloadslixmpp-df4012e66d91e868cf7e5326d80305a8cf7918e0.tar.gz
slixmpp-df4012e66d91e868cf7e5326d80305a8cf7918e0.tar.bz2
slixmpp-df4012e66d91e868cf7e5326d80305a8cf7918e0.tar.xz
slixmpp-df4012e66d91e868cf7e5326d80305a8cf7918e0.zip
XMLStream: Break a long line to make it more readable.
-rw-r--r--slixmpp/xmlstream/xmlstream.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index a691d34c..f3f9b618 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -364,10 +364,12 @@ class XMLStream(asyncio.BaseProtocol):
if self.xml_depth == 0:
# We have received the start of the root element.
self.xml_root = xml
- log.debug('RECV: %s', highlight(tostring(self.xml_root, xmlns=self.default_ns,
- stream=self,
- top_level=True,
- open_only=True)))
+ log.debug('RECV: %s',
+ highlight(tostring(self.xml_root,
+ xmlns=self.default_ns,
+ stream=self,
+ top_level=True,
+ open_only=True)))
self.start_stream_handler(self.xml_root)
self.xml_depth += 1
if event == 'end':