blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / util / parsers / xml_parser.py
index 7a23736..b42d39b 100644 (file)
@@ -198,7 +198,7 @@ class ECXMLParser(object):
         anode = doc.createElement("attributes")
         attributes = False
 
-        for attr in list(rm._attrs.values()):
+        for attr in rm._attrs.values():
             if attr.has_changed:
                 attributes = True
                 aanode = doc.createElement("attribute")
@@ -241,7 +241,7 @@ class ECXMLParser(object):
         tnode = doc.createElement("traces")
         traces = False
 
-        for trace in list(rm._trcs.values()):
+        for trace in rm._trcs.values():
             if trace.enabled:
                 traces = True
                 ttnode = doc.createElement("trace")