From 50df90934bba8f4cbb844670ff899e09a1d654cb Mon Sep 17 00:00:00 2001 From: bmaz Date: Fri, 29 Jul 2022 18:24:55 +0200 Subject: [PATCH] Delete debug print --- gazouilloire/exports/export_csv.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gazouilloire/exports/export_csv.py b/gazouilloire/exports/export_csv.py index c92411b..e998c98 100644 --- a/gazouilloire/exports/export_csv.py +++ b/gazouilloire/exports/export_csv.py @@ -398,9 +398,6 @@ def check_elastic_fields(fields, sort=False): if sort and mapping[field]["type"] == "text": log.error("Sorting by textual fields such as '{}' is not a valid option.".format(field)) - for f in mapping: - if mapping[f]["type"] == "text": - print(f) sys.exit(1) return field_list