[osm] removing dependencies for house/venue name (purely numeric names taken care of in osm formatter)

This commit is contained in:
Al
2016-11-18 18:32:44 -05:00
parent ca89a6ca2e
commit 7a89c6e9ce
2 changed files with 1 additions and 11 deletions

View File

@@ -399,7 +399,7 @@ class OSMAddressFormatter(object):
# Since venue names are only one-per-record, this wrapper will try them all (name, alt_name, etc.)
formatted_addresses = []
if AddressFormatter.HOUSE not in address_components or not venue_names:
if not venue_names:
return [self.formatter.format_address(address_components, country, language=language,
tag_components=tag_components, minimal_only=minimal_only)]