git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use print() - import print_function - should be fine for both py2 and py3
[nepi.git]
/
examples
/
linux
/
ccn_simple_transfer.py
diff --git
a/examples/linux/ccn_simple_transfer.py
b/examples/linux/ccn_simple_transfer.py
index
4b5d6f4
..
39ea8f0
100644
(file)
--- a/
examples/linux/ccn_simple_transfer.py
+++ b/
examples/linux/ccn_simple_transfer.py
@@
-31,6
+31,8
@@
# 0 ------- network -------- 1
#
# 0 ------- network -------- 1
#
+from __future__ import print_function
+
from nepi.execution.ec import ExperimentController
from optparse import OptionParser
from nepi.execution.ec import ExperimentController
from optparse import OptionParser
@@
-151,4
+153,4
@@
f.close()
ec.shutdown()
ec.shutdown()
-print
"Transfered FILE stored localy at video.ts"
+print
("Transfered FILE stored localy at video.ts")