Commit 690d6855 authored by Hugo Posnic's avatar Hugo Posnic

Use sorted instead of sort

parent 531fe072
......@@ -560,9 +560,7 @@ class PacmanMirrors:
:param country_dir: path with the mirror list
:return: list of countries
available_countries = os.listdir(country_dir)
return available_countries
return sorted(os.listdir(country_dir))
def get_geoip_country():
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment