From afe29abf6c6f611ddaa9c6f7fadbf585e2d66347 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 25 Dec 2016 11:38:18 -0500 Subject: [PATCH] [fix] 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 07fd26f1..f19a8f31 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -892,7 +892,7 @@ class AddressComponents(object): (props.get('place') in ('neighbourhood', 'neighborhood') and p.get('admin_level') == '10') or \ (props.get('place') == 'quarter' and p.get('admin_level') == '9') or \ ('place' in p and 'place' in props and props['place'] == p['place']) or \ - ('name' in props and name in 'p' and props['name'] == p['name']): + ('name' in props and 'name' in 'p' and props['name'] == p['name']): break else: grouped_components[component].append(props)