From 3df560ea388ecd2f2dfdb0b6d45a46fc75aed73f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 13 Jan 2022 09:30:31 +0100 Subject: [PATCH] fix linting error --- nominatim/tokenizer/token_analysis/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nominatim/tokenizer/token_analysis/generic.py b/nominatim/tokenizer/token_analysis/generic.py index a5c9f493..d4eae312 100644 --- a/nominatim/tokenizer/token_analysis/generic.py +++ b/nominatim/tokenizer/token_analysis/generic.py @@ -38,7 +38,7 @@ def configure(rules, normalization_rules): raise UsageError("Missing field 'replacements' in mutation configuration.") if not isinstance(rule['replacements'], list): raise UsageError("Field 'replacements' in mutation configuration " - "must be a list of texts.") + "must be a list of texts.") config['mutations'].append((rule['pattern'], rule['replacements'])) -- 2.39.5