From 93c7ab4284f0609abab7cf2f9b8bdefe21fe0038 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 11 Dec 2018 16:50:12 +0100 Subject: [PATCH] tests: make dummyclient.py compatible with Python2 and Python3 Closes: https://github.com/rsyslog/librelp/issues/163 --- tests/dummyclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dummyclient.py b/tests/dummyclient.py index 6f99c79..8b0041e 100755 --- a/tests/dummyclient.py +++ b/tests/dummyclient.py @@ -4,7 +4,7 @@ import os port = int(os.environ['TESTPORT']) -print "dummyclient info: opening and closing port " + str(port) + " without sending data" +print("dummyclient info: opening and closing port " + str(port) + " without sending data") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("127.0.0.1", port)) s.close()