From: Sage Weil Date: Fri, 27 Sep 2013 19:02:37 +0000 (-0700) Subject: schedule: show priority on -s X-Git-Tag: 1.1.0~1846^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2860e9d797c9903163f56cf68ad7bf09a9126fe6;p=teuthology.git schedule: show priority on -s Make output a bit nicer too. Signed-off-by: Sage Weil --- diff --git a/teuthology/run.py b/teuthology/run.py index b343b5fcc2..090f394c05 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -352,7 +352,9 @@ def schedule(): if job is None and ctx.verbose: print 'job {jid} is not in the queue'.format(jid=job_id) else: - print 'job {jid} contains: '.format(jid=job_id), job.body + print '--- job {jid} priority {prio} ---\n'.format( + jid=job_id, + prio=job.stats()['pri']), job.body return if ctx.delete: