X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=examples%2Fdce%2Fcustom_local_p2p_ccn.py;fp=examples%2Fdce%2Fcustom_local_p2p_ccn.py;h=243470f02f3e1cd67492404d4475de0edb24d37a;hp=04a46fc29997c7f85165ad874f90734c96ee1d24;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hpb=4118821ed6b57a7a88bf0471aa7ae6acff4187c6 diff --git a/examples/dce/custom_local_p2p_ccn.py b/examples/dce/custom_local_p2p_ccn.py index 04a46fc2..243470f0 100644 --- a/examples/dce/custom_local_p2p_ccn.py +++ b/examples/dce/custom_local_p2p_ccn.py @@ -17,6 +17,8 @@ # # Author: Alina Quereilhac +from __future__ import print_function + from nepi.execution.ec import ExperimentController import os @@ -164,7 +166,7 @@ ec.wait_finished([ccncat]) stdout = ec.trace(ccncat, "stdout") # convert from bytes to MB -print "%0.2f MBytes received" % (len(stdout) / 1024.0 / 1024.0 ) +print("%0.2f MBytes received" % (len(stdout) / 1024.0 / 1024.0 )) ec.shutdown()