mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
add tests for sanitizer tagging language
This commit is contained in:
@@ -124,7 +124,7 @@ class ICURuleLoader:
|
||||
else:
|
||||
LOG.fatal("ICU tokenizer configuration has two token "
|
||||
"analyzers with id '%s'.", name)
|
||||
UsageError("Syntax error in ICU tokenizer config.")
|
||||
raise UsageError("Syntax error in ICU tokenizer config.")
|
||||
self.analysis[name] = TokenAnalyzerRule(section, self.normalization_rules)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user