Skip to content

Commit

Permalink
[fix] iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
albarrentine committed Jul 26, 2016
1 parent 7b25d1e commit 5a9e5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/geodata/osm/formatter.py
Expand Up @@ -474,7 +474,7 @@ def node_place_tags(self, tags):
place_tags.append((address_components, language, False))

if postal_codes:
for address_components in place_tags:
for address_components, language, is_default in place_tags:
address_components[AddressFormatter.POSTCODE] = random.choice(postal_codes)

return place_tags, country
Expand Down

0 comments on commit 5a9e5ef

Please sign in to comment.