From 665a91ccea9fe8d7315b761546bd2b8cbc1558d5 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 22 Dec 2016 03:44:59 -0500 Subject: [PATCH] [fix] stray paren --- 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 1c79b0a2..12009e28 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -1278,7 +1278,7 @@ class AddressComponents(object): def cleanup_street(self, address_components): street = address_components.get(AddressFormatter.ROAD) - if street is not None and (invalid_street_regex.match(street) or not any((c.isalnum() for c in street)): + if street is not None and (invalid_street_regex.match(street) or not any((c.isalnum() for c in street))): address_components.pop(AddressFormatter.ROAD) newline_regex = re.compile('[\n]+')