XMLStream: Break a long line to make it more readable.
This commit is contained in:
parent
c372f3071a
commit
df4012e66d
1 changed files with 6 additions and 4 deletions
|
@ -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('[33;1mRECV[0m: %s', highlight(tostring(self.xml_root, xmlns=self.default_ns,
|
log.debug('[33;1mRECV[0m: %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':
|
||||||
|
|
Loading…
Reference in a new issue