PR#2615: cli: catch koji.ParameterError in list_task_output_all_volumes
Merges #2615 https://pagure.io/koji/pull-request/2615 Fixes #2686 https://pagure.io/koji/issue/2686
This commit is contained in:
commit
8b53dc74e3
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ def list_task_output_all_volumes(session, task_id):
|
|||
"""List task output with all volumes, or fake it"""
|
||||
try:
|
||||
return session.listTaskOutput(task_id, all_volumes=True)
|
||||
except koji.GenericError as e:
|
||||
except koji.ParameterError as e:
|
||||
if 'got an unexpected keyword argument' not in str(e):
|
||||
raise
|
||||
# otherwise leave off the option and fake it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue