X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fomf%2Ftesting%2Fnitos_omf5_ping.py;h=44d0ae98aac366d59868a9c0994105dd213c96d6;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=8d5411986c86fcb236ba4565f971bac3180dc198;hpb=d50ba1a08e541ded7a8b322493ebb1d0cc59c6ff;p=nepi.git diff --git a/examples/omf/testing/nitos_omf5_ping.py b/examples/omf/testing/nitos_omf5_ping.py index 8d541198..44d0ae98 100644 --- a/examples/omf/testing/nitos_omf5_ping.py +++ b/examples/omf/testing/nitos_omf5_ping.py @@ -4,9 +4,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 @@ -43,6 +42,8 @@ # # +from __future__ import print_function + from nepi.execution.ec import ExperimentController from nepi.execution.resource import ResourceAction, ResourceState @@ -127,7 +128,7 @@ ec.deploy() ec.wait_finished([app1, app2]) -print ec.trace(app1, "stdout") +print(ec.trace(app1, "stdout")) # Stop Experiment ec.shutdown()