From 2860e9d797c9903163f56cf68ad7bf09a9126fe6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 27 Sep 2013 12:02:37 -0700 Subject: [PATCH] schedule: show priority on -s Make output a bit nicer too. Signed-off-by: Sage Weil --- teuthology/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.39.5