From afc916023c22254bf44a8e62aa8a0d6021f1c0eb Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Fri, 8 Feb 2013 11:35:44 +0100 Subject: [PATCH] Update plumbum/paramiko_machine.py Use print() function instead of print statement for python 3 compatibility. --- plumbum/paramiko_machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plumbum/paramiko_machine.py b/plumbum/paramiko_machine.py index acc3666be..e04c7951d 100644 --- a/plumbum/paramiko_machine.py +++ b/plumbum/paramiko_machine.py @@ -71,7 +71,7 @@ def communicate(self): line = infile.readline() except (ValueError, IOError): line = None - print "!!", repr(line) + print("!! %s", (repr(line),)) if not line: infile.close() infile = None