From df4012e66d91e868cf7e5326d80305a8cf7918e0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 29 Dec 2016 18:41:09 +0100 Subject: XMLStream: Break a long line to make it more readable. --- slixmpp/xmlstream/xmlstream.py | 10 ++++++---- 1 file 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': -- cgit v1.2.3