From 60ced896a3615b99cfdf1ccf6f6094ef87bd0346 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Nov 2022 09:58:36 +0100 Subject: [PATCH] Fix condition for export --- git-importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-importer.py b/git-importer.py index a40d04e..6b030d6 100755 --- a/git-importer.py +++ b/git-importer.py @@ -102,7 +102,7 @@ def main(): requests_log.propagate = True if args.export: - if len(args.packages) != 0: + if len(args.packages) != 1: print("Can only export one package") sys.exit(1) TestExporter(args.packages[0]).run()