Code Review
/
integration
/
test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
e6d09df
)
Merge "Remove dict comprehension for Python 2.6 support"
author
Luis Gomez
<ecelgp@gmail.com>
Wed, 18 Mar 2015 04:12:34 +0000
(
04:12
+0000)
committer
Gerrit Code Review
<gerrit@opendaylight.org>
Wed, 18 Mar 2015 04:12:34 +0000
(
04:12
+0000)
test/tools/OF_Test/odl_tests.py
patch
|
blob
|
history
diff --git
a/test/tools/OF_Test/odl_tests.py
b/test/tools/OF_Test/odl_tests.py
index 8c1f8c641ce4788075915c6d3431ab0d06446eab..e529dece1f6fa607414937e8d48e6b35e876fa14 100755
(executable)
--- a/
test/tools/OF_Test/odl_tests.py
+++ b/
test/tools/OF_Test/odl_tests.py
@@
-408,7
+408,7
@@
class TestOpenFlowXMLs(unittest.TestCase):
def get_values(node, *tags):
- result =
{tag: None for tag in tags}
+ result =
dict((tag, None) for tag in tags)
for node in all_nodes(node):
if node.nodeName in result and len(node.childNodes) > 0:
result[node.nodeName] = node.childNodes[0].nodeValue