From: Kyr Shatskyy Date: Mon, 7 Oct 2019 10:17:17 +0000 (+0200) Subject: schedule: use python3 compatible print X-Git-Tag: 1.1.0~223^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b25334be44b7d49a32c1cfe4bee8dd35d61b55f5;p=teuthology.git schedule: use python3 compatible print Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/schedule.py b/teuthology/schedule.py index 8305aa10a..e8049bcfa 100644 --- a/teuthology/schedule.py +++ b/teuthology/schedule.py @@ -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