Commit a2a5a7e0 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Fix typos

parent ed9ae21a
......@@ -125,7 +125,8 @@ class XmlVisitor:
"""
return OrderedDict((
(attr_name, str(node.__dict__[attr_name])) for attr_name in self.default_node_attributes
(attr_name, str(node.__dict__[attr_name]))
for attr_name in self.default_node_attributes
if node.__dict__.get(attr_name, None)
))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment