[openaddresses] Ditto for numeric boundary names

This commit is contained in:
Al
2016-08-25 22:58:52 -04:00
parent 34b01e203d
commit c23a7a4030

View File

@@ -160,7 +160,7 @@ class OpenAddressesFormatter(object):
if key in AddressFormatter.BOUNDARY_COMPONENTS:
value = self.components.cleaned_name(value, first_comma_delimited_phrase=True)
if value and len(value) < 2:
if value and len(value) < 2 or is_numeric(value):
continue
components[key] = value.strip(', ')