From: Zack Cerza Date: Fri, 4 Oct 2013 17:41:02 +0000 (-0500) Subject: Make teuthology-schedule also print the job's name X-Git-Tag: 1.1.0~1836^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5482ba81d1a11fe6be2e2bf16780125da5508d34;p=teuthology.git Make teuthology-schedule also print the job's name Signed-off-by: Zack Cerza --- diff --git a/teuthology/run.py b/teuthology/run.py index cdeee7b523..20f58ad9e1 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -391,13 +391,13 @@ def schedule(): del ctx.config['targets'] job_config = dict( - name=ctx.name, - last_in_suite=ctx.last_in_suite, - email=ctx.email, - description=ctx.description, - owner=ctx.owner, - verbose=ctx.verbose, - ) + name=ctx.name, + last_in_suite=ctx.last_in_suite, + email=ctx.email, + description=ctx.description, + owner=ctx.owner, + verbose=ctx.verbose, + ) # Merge job_config and ctx.config job_config.update(ctx.config) if ctx.timeout is not None: @@ -411,5 +411,6 @@ def schedule(): ttr=60*60*24, priority=ctx.priority, ) - print 'Job scheduled with ID {jid}'.format(jid=jid) + print 'Job scheduled with name {name} and ID {jid}'.format( + name=ctx.name, jid=jid) num -= 1