diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 09:58:00 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 09:58:00 +0200 |
| commit | d6cc940087ee8897bad4e6a25d04403d28c5dc0a (patch) | |
| tree | 9b48e5cbb8388ae3a0385fd18ed45b4cc097fd85 /utils | |
| parent | 50f9df7e415deb9bb6156ef8f596b6d4d49b23a4 (diff) | |
| parent | 919e1b4d3dad602130aff9bb56d6741be02d831d (diff) | |
| download | python-apt-d6cc940087ee8897bad4e6a25d04403d28c5dc0a.tar.gz | |
* data/templates/Ubuntu.info.in,
data/templates/Ubuntu.mirrors:
- updated for Ubuntu maverick
* doc/source/conf.py:
- do not fail on non-digits in the version number
* utils/get_debian_mirrors.py:
- ignore mirrors without a county
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/get_debian_mirrors.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/get_debian_mirrors.py b/utils/get_debian_mirrors.py index 395c21da..9fb4dd37 100755 --- a/utils/get_debian_mirrors.py +++ b/utils/get_debian_mirrors.py @@ -26,6 +26,8 @@ masterlist = urllib2.urlopen("http://cvs.debian.org/webwml/webwml/english/" "mirror/Mirrors.masterlist?revision=HEAD") for mirror in deb822.Deb822.iter_paragraphs(masterlist): + if not "Country" in mirror: + continue country = mirror["Country"].split(None, 1)[0] site = mirror["Site"] for proto in 'http', 'ftp': |
