From 6c9d45e3997a50692d48fa28ccc5b0abc474e8b9 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Fri, 2 Nov 2012 11:33:46 -0700 Subject: [PATCH] schedule: fix var name --- teuthology/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/run.py b/teuthology/run.py index 0bb540c76904f..5681170b9480a 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -259,8 +259,8 @@ def schedule(): tube += '-' + ctx.branch beanstalk.use(tube) - if ctx.list: - for jobid in ctx.list: + if ctx.show: + for jobid in ctx.show: job = beanstalk.peek(jobid) if job is None and ctx.verbose: print 'job {jid} is not in the queue'.format(jid=jobid) -- 2.39.5