XMLStream: Break a long line to make it more readable.

This commit is contained in:
Emmanuel Gil Peyrot 2016-12-29 18:41:09 +01:00
parent c372f3071a
commit df4012e66d

View file

@ -364,10 +364,12 @@ class XMLStream(asyncio.BaseProtocol):
if self.xml_depth == 0: if self.xml_depth == 0:
# We have received the start of the root element. # We have received the start of the root element.
self.xml_root = xml self.xml_root = xml
log.debug('RECV: %s', highlight(tostring(self.xml_root, xmlns=self.default_ns, log.debug('RECV: %s',
stream=self, highlight(tostring(self.xml_root,
top_level=True, xmlns=self.default_ns,
open_only=True))) stream=self,
top_level=True,
open_only=True)))
self.start_stream_handler(self.xml_root) self.start_stream_handler(self.xml_root)
self.xml_depth += 1 self.xml_depth += 1
if event == 'end': if event == 'end':