Remove json check from import-cg CLI
Fixes: https://pagure.io/koji/issue/3241
This commit is contained in:
parent
78d7f3f39e
commit
c0b8223d2c
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