[addresses] no longer normalizing slashes in boundary names for places that have multilingual names, etc.
This commit is contained in:
@@ -488,8 +488,6 @@ class AddressComponents(object):
|
|||||||
# If the name contains a comma, stop and only use the phrase before the comma
|
# If the name contains a comma, stop and only use the phrase before the comma
|
||||||
if ',' in name:
|
if ',' in name:
|
||||||
return name.split(',', 1)[0].strip()
|
return name.split(',', 1)[0].strip()
|
||||||
elif '/' in name:
|
|
||||||
return name.split('/', 1)[0].strip()
|
|
||||||
|
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user