X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fomf%2Fnitos_omf6_vlc.py;h=eb615fe30d42ed0592cdc4be53737e5bdd977186;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=9b7443b380129b5a9a6afe4030d868e4f5bb9ba0;hpb=741b99fe027fe6b54846a0703d26510d9b40a135;p=nepi.git diff --git a/examples/omf/nitos_omf6_vlc.py b/examples/omf/nitos_omf6_vlc.py index 9b7443b3..eb615fe3 100644 --- a/examples/omf/nitos_omf6_vlc.py +++ b/examples/omf/nitos_omf6_vlc.py @@ -6,9 +6,8 @@ # Copyright (C) 2013 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -47,6 +46,8 @@ # - t3 (t2 + 2s) : Kill the application # +from __future__ import print_function + from nepi.execution.resource import ResourceAction, ResourceState from nepi.execution.ec import ExperimentController @@ -157,7 +158,7 @@ ec.wait_finished([app2]) # Retrieve the bytes transmitted count and print it byte_count = ec.trace(app2, "stdout") -print "BYTES transmitted", byte_count +print("BYTES transmitted", byte_count) ## If you redirected the video to standard output, you can try to ## retrieve the stdout of the VLC client