git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
blind review on list-operations added by 2to3:
[nepi.git]
/
src
/
nepi
/
util
/
parsers
/
xml_parser.py
diff --git
a/src/nepi/util/parsers/xml_parser.py
b/src/nepi/util/parsers/xml_parser.py
index
7a23736
..
b42d39b
100644
(file)
--- a/
src/nepi/util/parsers/xml_parser.py
+++ b/
src/nepi/util/parsers/xml_parser.py
@@
-198,7
+198,7
@@
class ECXMLParser(object):
anode = doc.createElement("attributes")
attributes = False
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")
if attr.has_changed:
attributes = True
aanode = doc.createElement("attribute")
@@
-241,7
+241,7
@@
class ECXMLParser(object):
tnode = doc.createElement("traces")
traces = False
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")
if trace.enabled:
traces = True
ttnode = doc.createElement("trace")