From d21424edd8bef4aed4c90c8f1b860bec8cfa68b9 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 26 Jun 2015 16:52:57 -0400 Subject: Fix deprecated print call --- htc_utils/bindings/wait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htc_utils/bindings/wait.py') diff --git a/htc_utils/bindings/wait.py b/htc_utils/bindings/wait.py index 768707f..0723d55 100644 --- a/htc_utils/bindings/wait.py +++ b/htc_utils/bindings/wait.py @@ -33,7 +33,7 @@ class Wait(object): def execute(self): logfile = self.submit.job.logs['log'].replace('$(Cluster)', self.submit.cluster) - print "logfile: ", logfile + print("logfile: {0}".format(logfile)) condor_wait_args = ' '.join([str(arg) for record in self.cli_args for arg in record]) condor_wait = ' '.join(['condor_wait', condor_wait_args, logfile]) proc = subprocess.Popen(condor_wait.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=self.submit.environ) -- cgit