diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-06-26 16:52:57 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-06-26 16:52:57 -0400 |
commit | d21424edd8bef4aed4c90c8f1b860bec8cfa68b9 (patch) | |
tree | 926bb8c8ee9634e7430bed70436453d8ead0329a /htc_utils | |
parent | 369e468e2994371193e0c71684fc0c6ef6929418 (diff) | |
download | htc_utils-d21424edd8bef4aed4c90c8f1b860bec8cfa68b9.tar.gz |
Fix deprecated print call
Diffstat (limited to 'htc_utils')
-rw-r--r-- | htc_utils/bindings/wait.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |