PR#3242: Remove json check from import-cg CLI
Merges #3242 https://pagure.io/koji/pull-request/3242 Fixes: #3241 https://pagure.io/koji/issue/3241 Remove json check in import-cg CLI
This commit is contained in:
commit
c2b238c603
1 changed files with 0 additions and 2 deletions
|
|
@ -1430,8 +1430,6 @@ def handle_import_cg(goptions, session, args):
|
|||
(options, args) = parser.parse_args(args)
|
||||
if len(args) < 2:
|
||||
parser.error("Please specify metadata files directory")
|
||||
if json is None:
|
||||
parser.error("Unable to find json module")
|
||||
activate_session(session, goptions)
|
||||
metadata = koji.load_json(args[0])
|
||||
if 'output' not in metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue