aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-07-19 23:52:46 +0200
committerSebastian Pipping <sebastian@pipping.org>2009-07-20 02:25:54 +0200
commit9a5accda87c5b00c50d6cb7e4ff388f2b318960c (patch)
treeaeb08eda30be5e83a228aa552578ed86de66d38a /mirrorselect
parentMove mirror parsers to module "mirrorselect" (diff)
downloadmirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.tar.gz
mirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.tar.bz2
mirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.zip
Sort distfiles mirrors by country.
Diffstat (limited to 'mirrorselect')
-rw-r--r--mirrorselect/mirrorparser3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/mirrorparser3.py b/mirrorselect/mirrorparser3.py
index 6efcc3d..ac64591 100644
--- a/mirrorselect/mirrorparser3.py
+++ b/mirrorselect/mirrorparser3.py
@@ -40,7 +40,7 @@ class MirrorParser3:
name = e.text
if e.tag == 'uri':
uri = e.text
- self._dict[uri] = name
+ self._dict[uri] = [name, mirrorgroup.get("countryname")]
def tuples(self):
return [(url, name) for url, name in self._dict.items()]