[addresses] supplying country arg when stripping name affixes both for OSM place-based data sets (ways, localities) and OpenAddresses (shouldn't affect any of the countries currently in OA though)

This commit is contained in:
Al
2017-01-23 23:30:29 -05:00
parent c36611c060
commit bc748b6d62
3 changed files with 3 additions and 3 deletions

View File

@@ -477,7 +477,7 @@ class OpenAddressesFormatter(object):
self.components.cleanup_boundary_names(components)
self.components.country_specific_cleanup(components, country)
self.components.replace_name_affixes(components, language)
self.components.replace_name_affixes(components, language, country=country)
self.components.replace_names(components)