display task info for regen-repo command

This commit is contained in:
Mike McLean 2015-12-01 20:57:44 -05:00
parent b74052f0cd
commit c8fccdeba5

View file

@ -6639,7 +6639,9 @@ def handle_regen_repo(options, session, args):
if suboptions.source:
repo_opts['src'] = True
task_id = session.newRepo(tag, **repo_opts)
print "Regenerating repo for tag " + tag
print "Regenerating repo for tag: %s" % tag
print "Created task:", task_id
print "Task info: %s/taskinfo?taskID=%s" % (options.weburl, task_id)
if _running_in_bg() or suboptions.nowait:
return
else: