X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fdce%2Fcustom_local_csma_ping.py;h=54085ab8a2f76473b8e0835a65161fe7ec5be362;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=3ce19d14d9ca8b828aaf6d49ec9b9818769e610d;hpb=e55924b6886bd7382a28e1ae235c4810f852e163;p=nepi.git diff --git a/examples/dce/custom_local_csma_ping.py b/examples/dce/custom_local_csma_ping.py index 3ce19d14..54085ab8 100644 --- a/examples/dce/custom_local_csma_ping.py +++ b/examples/dce/custom_local_csma_ping.py @@ -17,6 +17,8 @@ # # Author: Alina Quereilhac +from __future__ import print_function + from nepi.execution.ec import ExperimentController def add_ns3_node(ec, simu): @@ -97,5 +99,5 @@ stdout = ec.trace(ping, "stdout") ec.shutdown() -print "PING OUTPUT", stdout +print("PING OUTPUT", stdout)