X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Flinux%2Fnetcat_file_transfer.py;h=3734af318890194e20462a383de8c0d0af2979df;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=d42166e7eecdb94d33f7d2d04bd391a9abff734c;hpb=741b99fe027fe6b54846a0703d26510d9b40a135;p=nepi.git diff --git a/examples/linux/netcat_file_transfer.py b/examples/linux/netcat_file_transfer.py index d42166e7..3734af31 100644 --- a/examples/linux/netcat_file_transfer.py +++ b/examples/linux/netcat_file_transfer.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 @@ -25,6 +24,8 @@ # $ cd # python examples/linux/netcat_file_transfer.py -a -b -u -i +from __future__ import print_function + from nepi.execution.ec import ExperimentController from nepi.execution.resource import ResourceAction, ResourceState @@ -139,5 +140,5 @@ f.close() ec.shutdown() -print "Total bytes transfered saved to bw.txt..." +print("Total bytes transfered saved to bw.txt...")