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:
# 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':