Kaydet (Commit) 333c1dbf authored tarafından Patrick Maupin's avatar Patrick Maupin

Removed suboptimal code added for debugging

üst c479d88d
......@@ -41,7 +41,7 @@ def iter_node(node, name='',
"""
fields = getattr(node, '_fields', None)
if fields is not None:
for name in list(fields):
for name in fields:
value = getattr(node, name, missing)
if value is not missing:
yield value, name
......
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