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]
/
examples
/
openvswitch
/
ovs_ping_3_switches.py
diff --git
a/examples/openvswitch/ovs_ping_3_switches.py
b/examples/openvswitch/ovs_ping_3_switches.py
index
ee22e1c
..
510c9e6
100644
(file)
--- a/
examples/openvswitch/ovs_ping_3_switches.py
+++ b/
examples/openvswitch/ovs_ping_3_switches.py
@@
-236,7
+236,9
@@
for r1, (n1, ip1) in r2ip.items():
ec.deploy()
-ec.wait_finished(list(apps.values()))
+# py3: no need to transform into a list
+# as wait_finished (wait in fact) will do it anyway
+ec.wait_finished(apps.values())
# collect results
for key, app in apps.items():