summaryrefslogtreecommitdiff
path: root/utils/get_debian_mirrors.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-05-27 15:36:08 +0200
committerJulian Andres Klode <jak@debian.org>2011-05-27 15:36:08 +0200
commit49b6e5854b816712cfb7422c3506cbc044b2060d (patch)
tree7259228a8a3c155977f184986b471d9ed1f71246 /utils/get_debian_mirrors.py
parentf1aeb42d32402dbb6f1b7f5ec1d776092ee99177 (diff)
downloadpython-apt-49b6e5854b816712cfb7422c3506cbc044b2060d.tar.gz
utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls
Diffstat (limited to 'utils/get_debian_mirrors.py')
-rwxr-xr-xutils/get_debian_mirrors.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/get_debian_mirrors.py b/utils/get_debian_mirrors.py
index 9fb4dd37..c81f8276 100755
--- a/utils/get_debian_mirrors.py
+++ b/utils/get_debian_mirrors.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
# get_debian_mirrors.py - Parse Mirrors.masterlist and create a mirror list.
#
-# Copyright (c) 2010 Julian Andres Klode <jak@debian.org>
+# Copyright (c) 2010-2011 Julian Andres Klode <jak@debian.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -22,7 +22,8 @@ import urllib2
from debian_bundle import deb822
mirrors = collections.defaultdict(set)
-masterlist = urllib2.urlopen("http://cvs.debian.org/webwml/webwml/english/"
+masterlist = urllib2.urlopen("http://anonscm.debian.org/viewvc/"
+ "webml/webwml/english/"
"mirror/Mirrors.masterlist?revision=HEAD")
for mirror in deb822.Deb822.iter_paragraphs(masterlist):