- lang = props['languages'][0] if len(props['languages']) == 1 else None
- name = add_prefix_to_keys(props.get('names')
- .get(_COUNTRY_INFO.key_prefix()), _COUNTRY_INFO.key_prefix())
- name = json.dumps(name, ensure_ascii=False, separators=(', ', '=>'))
- params.append((ccode, name[1:-1], lang, partition))
+ lang = props['languages'][0] if len(
+ props['languages']) == 1 else None
+ name = add_prefix_to_keys(props.get('names').get(
+ _COUNTRY_INFO.key_prefix()), _COUNTRY_INFO.key_prefix())
+ params.append((ccode, name, lang, partition))