From 4edaca7d37aa1d04524f8a7c3ad0852213da2443 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 25 Dec 2016 02:50:29 -0500 Subject: [PATCH] [fix] var 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 e472744d..85d013bc 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -969,7 +969,7 @@ class AddressComponents(object): seen = set() if country == JAPAN and component == AddressFormatter.SUBURB: - component_values = sorted(component_values, key=self.japanese_neighborhood_sort_key) + components_values = sorted(components_values, key=self.japanese_neighborhood_sort_key) for component_value in components_values: if random_key and not (component in (AddressFormatter.STATE_DISTRICT, AddressFormatter.STATE) and not have_city):