From 4550f00f03887f2f9ebe297142fb1e230116c7e8 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 10 Dec 2016 15:18:09 -0500 Subject: [PATCH] [fix] var name --- scripts/geodata/addresses/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/addresses/components.py b/scripts/geodata/addresses/components.py index 915f566a..2840091c 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -351,7 +351,7 @@ class AddressComponents(object): containing_ids = [(c['type'], c['id']) for c in osm_components[i + 1:] if 'type' in c and 'id' in c] component = osm_address_components.component_from_properties(country, props, containing=containing_ids) - if name_equal and component == tag: + if same_name_as_original and component == tag: continue names |= component_names