From 29ba58d68af3a981d2e3be60e5c77e9076331bdf Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 11 Feb 2017 01:01:29 -0500 Subject: [PATCH] [fix] var --- 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 0766aa41..f6e5a435 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -430,7 +430,7 @@ class AddressComponents(object): t, c = tokens if stripped and c not in (token_types.IDEOGRAPHIC_CHAR, token_types.IDEOGRAPHIC_NUMBER): stripped.append(u' ') - if c not in PUNCTUATION_TOKEN_TYPES: + if c not in token_types.PUNCTUATION_TOKEN_TYPES: stripped.append(t) name = u''.join(stripped)