]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix linting error
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 13 Jan 2022 08:30:31 +0000 (09:30 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 18 Jan 2022 10:09:21 +0000 (11:09 +0100)
nominatim/tokenizer/token_analysis/generic.py

index a5c9f4937a859cec94bb244064fa50afb13fe664..d4eae312d9dfc4f3407cb915988a41256614565b 100644 (file)
@@ -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']))