X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fopenvswitch%2Fovs_ping_3_switches.py;fp=examples%2Fopenvswitch%2Fovs_ping_3_switches.py;h=510c9e6661a1b093e155d02b43f17b0bc4f91658;hb=b4af9a40867beff8660612fe20d3838cb375f159;hp=ee22e1c40ca202c166c196281d74d493a15a5335;hpb=b3292d8429f07d0e9d21a3ec2d81dbc4b18332d1;p=nepi.git diff --git a/examples/openvswitch/ovs_ping_3_switches.py b/examples/openvswitch/ovs_ping_3_switches.py index ee22e1c4..510c9e66 100644 --- 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():