[openaddresses] adding Czech Republic to the street not required set

This commit is contained in:
Al
2017-02-04 15:30:46 -05:00
parent 0169448a4d
commit c600f05f06

View File

@@ -418,7 +418,7 @@ class OpenAddressesFormatter(object):
unit = components.get(AddressFormatter.UNIT, None)
street_required = country != Countries.JAPAN and country not in Countries.FORMER_SOVIET_UNION_COUNTRIES
street_required = country not in (Countries.JAPAN, Countries.CZECH_REPUBLIC) and country not in Countries.FORMER_SOVIET_UNION_COUNTRIES
postcode = components.get(AddressFormatter.POSTCODE, None)