Skip to content

Commit

Permalink
accumulate previous tags on re-start
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley Brewer committed May 19, 2018
1 parent db47388 commit 11a488f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spc/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def start_new_job():
previous_params, _, _ = root.myapps[app].read_params(owner, cid)
params.update(previous_params)
if user == owner:
params['tags'] = cid
params['tags'] = cid + "," + jobs(cid=cid).description
else:
params['tags'] = os.path.join(owner, cid)
params['tags'] = os.path.join(owner, cid) + "," + jobs(cid=cid).description

params['cid'] = cid
params['app'] = app
Expand Down

0 comments on commit 11a488f

Please sign in to comment.