- lang = props['languages'][0] if len(props['languages']) == 1 else None
- params.append((ccode, partition, lang))
-
- name = add_prefix_to_keys(props.get('names').get('name'), 'name:')
- name = json.dumps(name , ensure_ascii=False, separators=(', ', '=>'))
- country_names_data += ccode + '\t' + name[1:-1] + '\n'
+ 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))