From: Zack Cerza Date: Tue, 10 Sep 2013 19:44:38 +0000 (-0500) Subject: s/jobid/job_id/ X-Git-Tag: 1.1.0~1883^2~12 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c9db15e67c7f2c6c071ff43e3d392237377a826c;p=teuthology.git s/jobid/job_id/ --- diff --git a/teuthology/run.py b/teuthology/run.py index 2f3ff10083..7cbd81bf9e 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -338,19 +338,19 @@ def schedule(): beanstalk.use(tube) if ctx.show: - for jobid in ctx.show: - job = beanstalk.peek(jobid) + for job_id in ctx.show: + job = beanstalk.peek(job_id) if job is None and ctx.verbose: - print 'job {jid} is not in the queue'.format(jid=jobid) + print 'job {jid} is not in the queue'.format(jid=job_id) else: - print 'job {jid} contains: '.format(jid=jobid), job.body + print 'job {jid} contains: '.format(jid=job_id), job.body return if ctx.delete: - for jobid in ctx.delete: - job = beanstalk.peek(jobid) + for job_id in ctx.delete: + job = beanstalk.peek(job_id) if job is None: - print 'job {jid} is not in the queue'.format(jid=jobid) + print 'job {jid} is not in the queue'.format(jid=job_id) else: job.delete() return