summaryrefslogtreecommitdiff
blob: 99ac9887f7398c5d203d6f07a65e0875754e6394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 93c7ab4284f0609abab7cf2f9b8bdefe21fe0038 Mon Sep 17 00:00:00 2001
From: Thomas Deutschmann <whissi@whissi.de>
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()