use print() - import print_function - should be fine for both py2 and py3
[nepi.git] / src / nepi / resources / linux / scripts / linux-tap-create.py
index 8da9311..bd14cee 100644 (file)
@@ -16,6 +16,8 @@
 #
 # Author: Alina Quereilhac <alina.quereilhac@inria.fr>
 
+from __future__ import print_function
+
 import base64
 import fcntl
 import errno
@@ -153,7 +155,7 @@ def passfd_action(fd, args):
     to another process through a unix socket.
     """
     address = args.pop(0)
-    print address
+    print(address)
     sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
     sock.connect(address)
     passfd.sendfd(sock, fd, '0')