Skip to content

Commit

Permalink
Merge pull request #221 from galaxyproject/220-job-list
Browse files Browse the repository at this point in the history
Job listing fix
  • Loading branch information
ksuderman authored Jun 20, 2023
2 parents 696947d + 8c4151a commit 97a666f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions abm/lib/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def list(context: Context, args: list):
log.debug("Getting job list")
if history_id:
history_id = find_history(gi, history_id)
if history_id is None:
print("ERROR: No such history")
return
if history_id is None:
print("ERROR: No such history")
return
job_list = gi.jobs.get_jobs(state=state, history_id=history_id)
log.debug(f"Iterating over job list with {len(job_list)} items")
for job in job_list:
Expand Down

0 comments on commit 97a666f

Please sign in to comment.