]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/icu_tokenizer.py
fix up BDD tests for postcode changes
[nominatim.git] / nominatim / tokenizer / icu_tokenizer.py
index 0dc551e1b4ce6e828720fad913502c185e49c327..28184f6af13ee10c55cd928734550270d45519bd 100644 (file)
@@ -635,6 +635,8 @@ class LegacyICUNameAnalyzer(AbstractAnalyzer):
                             (postcode, list(variants)))
             self._cache.postcodes.add(postcode)
 
+        return postcode_name
+
 
 class _TokenInfo:
     """ Collect token information to be sent back to the database.