]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
schedule: use python3 compatible print
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 7 Oct 2019 10:17:17 +0000 (12:17 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 7 Oct 2019 10:17:17 +0000 (12:17 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/schedule.py

index 8305aa10a2f326ab183912f240d4a6ac24eb7dff..e8049bcfac8f8443ad8934f6c1f5ddd225a4d3a6 100644 (file)
@@ -93,8 +93,8 @@ def schedule_job(job_config, num=1):
             ttr=60 * 60 * 24,
             priority=job_config['priority'],
         )
-        print 'Job scheduled with name {name} and ID {jid}'.format(
-            name=job_config['name'], jid=jid)
+        print('Job scheduled with name {name} and ID {jid}'.format(
+            name=job_config['name'], jid=jid))
         job_config['job_id'] = str(jid)
         report.try_push_job_info(job_config, dict(status='queued'))
         num -= 1