From 6b2a358bb63c6b51b6a1215b047ea879046fd965 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 11 Jun 2012 14:20:54 -0700 Subject: drop the unnecessary use of .keys() here, thanks Barry\! --- utils/get_ubuntu_mirrors_from_lp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3