forked from importers/git-importer
Fix condition for export
This commit is contained in:
parent
33a5733cb9
commit
60ced896a3
@ -102,7 +102,7 @@ def main():
|
|||||||
requests_log.propagate = True
|
requests_log.propagate = True
|
||||||
|
|
||||||
if args.export:
|
if args.export:
|
||||||
if len(args.packages) != 0:
|
if len(args.packages) != 1:
|
||||||
print("Can only export one package")
|
print("Can only export one package")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
TestExporter(args.packages[0]).run()
|
TestExporter(args.packages[0]).run()
|
||||||
|
Loading…
Reference in New Issue
Block a user