def get_countries(): c1 = tgformat.get_countries('en') c2 = tgformat.get_countries() if len(c1) > len(c2): d = dict(country_additions) d.update(dict(c1)) d.update(dict(c2)) else: d = dict(country_additions) d.update(dict(c2)) ret = d.items() + fuzzy_countrynames return ret
def get_countries(): c1 = tgformat.get_countries('en') c2 = tgformat.get_countries() if len(c1) > len(c2): d = dict(country_additions) d.update(dict(c1)) d.update(dict(c2)) else: d = dict(country_additions) d.update(dict(c2)) ret = d.items() + fuzzy_countrynames return ret