honor --test in import-cg command

This commit is contained in:
Mike McLean 2016-04-21 11:54:08 -04:00
parent 780a2bb905
commit 498714a2cc

View file

@ -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')