From: Josh Durgin Date: Fri, 2 Nov 2012 18:33:46 +0000 (-0700) Subject: schedule: fix var name X-Git-Tag: 1.1.0~2426 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6c9d45e3997a50692d48fa28ccc5b0abc474e8b9;p=teuthology.git schedule: fix var name --- diff --git a/teuthology/run.py b/teuthology/run.py index 0bb540c76..5681170b9 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)