honor --test in import-cg command
This commit is contained in:
parent
780a2bb905
commit
498714a2cc
1 changed files with 3 additions and 0 deletions
3
cli/koji
3
cli/koji
|
|
@ -1622,6 +1622,9 @@ def handle_import_cg(options, session, args):
|
|||
parser.error(_("No such file: %s") % localpath)
|
||||
to_upload.append([localpath, info])
|
||||
|
||||
if options.test:
|
||||
return
|
||||
|
||||
# get upload path
|
||||
# XXX - need a better way
|
||||
serverdir = _unique_path('cli-import')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue