PR#3111: Fix older hub errors
Merges #3111 https://pagure.io/koji/pull-request/3111 Fixes: #1401 https://pagure.io/koji/issue/1401 [RFE] add the ability to query builds by Content Generator
This commit is contained in:
commit
6f89e387a8
1 changed files with 3 additions and 0 deletions
|
|
@ -3348,6 +3348,9 @@ def anon_handle_list_builds(goptions, session, args):
|
|||
if e.args[0].endswith("'pattern'"):
|
||||
parser.error("The hub doesn't support the 'pattern' argument, please try"
|
||||
" filtering the result on your local instead.")
|
||||
if e.args[0].endswith("'cgID'"):
|
||||
parser.error("The hub doesn't support the 'cg' argument, please try"
|
||||
" filtering the result on your local instead.")
|
||||
else:
|
||||
parser.error("Filter must be provided for list")
|
||||
if not options.sort_key:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue