diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2009-07-19 23:52:46 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2009-07-20 02:25:54 +0200 |
commit | 9a5accda87c5b00c50d6cb7e4ff388f2b318960c (patch) | |
tree | aeb08eda30be5e83a228aa552578ed86de66d38a /mirrorselect | |
parent | Move mirror parsers to module "mirrorselect" (diff) | |
download | mirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.tar.gz mirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.tar.bz2 mirrorselect-9a5accda87c5b00c50d6cb7e4ff388f2b318960c.zip |
Sort distfiles mirrors by country.
Diffstat (limited to 'mirrorselect')
-rw-r--r-- | mirrorselect/mirrorparser3.py | 2 |
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()] |