From 29ceea4ef0c6a27a55030dd8ce3069ec90264600 Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Nov 07 2021 09:33:22 +0000 Subject: Fix older hub errors Fixes: https://pagure.io/koji/issue/1401 --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 3f8f84c..adc04b6 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -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: