From 93da9ba50d5e1845c9586fd4912a40c33abeb211 Mon Sep 17 00:00:00 2001 From: Uchechukwu Orji Date: Sat, 24 Aug 2024 02:24:28 +0100 Subject: [PATCH] remove stdin default from create-countries subcommand --- backend/src/mirrors_qa_backend/entrypoint.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/mirrors_qa_backend/entrypoint.py b/backend/src/mirrors_qa_backend/entrypoint.py index de5b67d..b8cd6c2 100644 --- a/backend/src/mirrors_qa_backend/entrypoint.py +++ b/backend/src/mirrors_qa_backend/entrypoint.py @@ -113,11 +113,9 @@ def main(): "country_region_csv_file", metavar="csv-file", type=argparse.FileType("r", encoding="utf-8"), - nargs="?", - default=sys.stdin, help=( "CSV file containing countries and associated regions " - "(format: Maxmind's GeoIPLite Country Locations csv) (default: stdin)." + "(format: Maxmind's GeoIPLite Country Locations csv)." ), )