From 987609ee8e90a25ffd566515faa2b7be0b19c041 Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 27 Jan 2017 18:46:58 -0500 Subject: [PATCH] [fix] var name --- scripts/geodata/openaddresses/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/openaddresses/formatter.py b/scripts/geodata/openaddresses/formatter.py index 7abf4d9d..29d57c1f 100644 --- a/scripts/geodata/openaddresses/formatter.py +++ b/scripts/geodata/openaddresses/formatter.py @@ -393,7 +393,7 @@ class OpenAddressesFormatter(object): unit = components.get(AddressFormatter.UNIT, None) - street_not_required = country == Countries.JAPAN or country in Countries.FORMER_SOVIET_COUNTRIES + street_not_required = country == Countries.JAPAN or country in Countries.FORMER_SOVIET_UNION_COUNTRIES # If there's a postcode, we can still use just the city/state/postcode, otherwise discard if ((not street or street_not_required) and not house_number) or (street and house_number and (street.lower() == house_number.lower())) or (unit and street and street.lower() == unit.lower()):