[fix] typo

This commit is contained in:
Al
2016-07-27 12:48:35 -04:00
parent 9e61b9409f
commit 4cc49b7ca4

View File

@@ -421,7 +421,7 @@ class OSMAddressFormatter(object):
revised_osm_components.append(c)
if not first_valid:
if (component_index <= self.boundary_component_priorities[AddressesFormatter.CITY] and
if (component_index <= self.boundary_component_priorities[AddressFormatter.CITY] and
component_index != c_index and tags.get('type') == 'node' and 'admin_center' in c and
tags.get('id') and c['admin_center']['id'] == tags['id'] and c.get('name', '').lower() == tags['name'].lower()):
component_name = c_name