summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2012-06-11 14:20:54 -0700
committerSteve Langasek <steve.langasek@canonical.com>2012-06-11 14:20:54 -0700
commit6b2a358bb63c6b51b6a1215b047ea879046fd965 (patch)
tree70ec6e3fd8bd69a23838f14180f1135f47868372
parentadb0326614b3c06968eb0c30c91f1290773cd4cc (diff)
downloadpython-apt-6b2a358bb63c6b51b6a1215b047ea879046fd965.tar.gz
drop the unnecessary use of .keys() here, thanks Barry\!
-rwxr-xr-xutils/get_ubuntu_mirrors_from_lp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/get_ubuntu_mirrors_from_lp.py b/utils/get_ubuntu_mirrors_from_lp.py
index 5f9325e4..7c4d3831 100755
--- a/utils/get_ubuntu_mirrors_from_lp.py
+++ b/utils/get_ubuntu_mirrors_from_lp.py
@@ -40,7 +40,7 @@ for entry in d.entries:
countries[countrycode].add(link.href)
-keys = sorted(countries.keys())
+keys = sorted(countries)
print("mirror://mirrors.ubuntu.com/mirrors.txt")
for country in keys:
print("#LOC:%s" % country)