From 4e7b423d3c3137c3f83b71b36279e1a544154833 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Fri, 13 Apr 2018 09:13:16 -0400 Subject: core/various: python3 compat, prepare for python2 -> python3 see https://review.gluster.org/#/c/19788/ use print fn from __future__ Change-Id: If5075d8d9ca9641058fbc71df8a52aa35804cda4 updates: #411 Signed-off-by: Kaleb S. KEITHLEY --- tests/features/ipctest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/features/ipctest.py') diff --git a/tests/features/ipctest.py b/tests/features/ipctest.py index e89642f589b..a8de3936b27 100755 --- a/tests/features/ipctest.py +++ b/tests/features/ipctest.py @@ -1,5 +1,6 @@ #!/usr/bin/python2 +from __future__ import print_function import ctypes api = ctypes.CDLL("libgfapi.so",mode=ctypes.RTLD_GLOBAL) @@ -23,6 +24,6 @@ if __name__ == "__main__": try: res = apply(do_ipc,sys.argv[1:3]) - print res + print(res) except: - print "IPC failed (volume not started?)" + print("IPC failed (volume not started?)") -- cgit