CLI download-tasks has sorted tasks in check closed/not closed tasks
Fixes: https://pagure.io/koji/issue/3671
This commit is contained in:
parent
d5ed48f56a
commit
ed72318ce4
1 changed files with 1 additions and 1 deletions
|
|
@ -6968,7 +6968,7 @@ def anon_handle_download_task(options, session, args):
|
|||
if task["id"] not in required_tasks:
|
||||
required_tasks[task["id"]] = task
|
||||
|
||||
for task_id in required_tasks:
|
||||
for task_id in sorted(required_tasks):
|
||||
task_state = koji.TASK_STATES.get(required_tasks[task_id]["state"])
|
||||
if task_state != "CLOSED":
|
||||
if task_id == base_task_id:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue