]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/country_info.py
add testcase for #2551
[nominatim.git] / nominatim / tools / country_info.py
index ed04c2d55433358e745a434dd48dd2f7fbe1584b..0ad001719e164f110afbf063f69f57711a78b42c 100644 (file)
@@ -131,9 +131,6 @@ def create_country_names(conn, tokenizer, languages=None):
         empty then only name translations for the given languages are added
         to the index.
     """
-    if languages:
-        languages = languages.split(',')
-
     def _include_key(key):
         return ':' not in key or not languages or \
                key[key.index(':') + 1:] in languages