17 return region_name |
17 return region_name |
18 |
18 |
19 def greatly_simplify_name(region_name): |
19 def greatly_simplify_name(region_name): |
20 region = regions.get(region_name) |
20 region = regions.get(region_name) |
21 if region: |
21 if region: |
22 if 'greater_-replacement' in region: |
22 if 'greater_replacement' in region: |
23 return simplify_name(region['greater_replacement']) |
23 return simplify_name(region['greater_replacement']) |
24 elif 'replacement' in region: |
24 if 'replacement' in region: |
25 return simplify_name(region['replacement']) |
25 return simplify_name(region['replacement']) |
26 else: |
26 else: |
27 return simplify_name(region_name) |
27 return simplify_name(region_name) |
28 else: |
28 else: |
29 return region_name |
29 return region_name |