forked from hans/Nominatim
fix linting issue
This commit is contained in:
@@ -624,7 +624,7 @@ class LegacyICUNameAnalyzer(AbstractAnalyzer):
|
|||||||
if postcode not in self._cache.postcodes:
|
if postcode not in self._cache.postcodes:
|
||||||
term = self._search_normalized(postcode_name)
|
term = self._search_normalized(postcode_name)
|
||||||
if not term:
|
if not term:
|
||||||
return
|
return None
|
||||||
|
|
||||||
variants = {term}
|
variants = {term}
|
||||||
if analyzer is not None and variant_base is not None:
|
if analyzer is not None and variant_base is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user