diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2012-06-11 14:20:54 -0700 |
|---|---|---|
| committer | Steve Langasek <steve.langasek@canonical.com> | 2012-06-11 14:20:54 -0700 |
| commit | 6b2a358bb63c6b51b6a1215b047ea879046fd965 (patch) | |
| tree | 70ec6e3fd8bd69a23838f14180f1135f47868372 | |
| parent | adb0326614b3c06968eb0c30c91f1290773cd4cc (diff) | |
| download | python-apt-6b2a358bb63c6b51b6a1215b047ea879046fd965.tar.gz | |
drop the unnecessary use of .keys() here, thanks Barry\!
| -rwxr-xr-x | utils/get_ubuntu_mirrors_from_lp.py | 2 |
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) |
