summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aptsources/distinfo.py2
-rw-r--r--debian/changelog7
2 files changed, 8 insertions, 1 deletions
diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py
index 249985e7..dbd28939 100644
--- a/aptsources/distinfo.py
+++ b/aptsources/distinfo.py
@@ -158,7 +158,7 @@ class DistInfo(object):
location = None
match_loc = re.compile(r"^#LOC:(.+)$")
match_mirror_line = re.compile(
- r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(https))://"
+ r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(mirror)|(https))://"
r"[A-Za-z0-9/\.:\-_@]+)$")
#match_mirror_line = re.compile(r".+")
diff --git a/debian/changelog b/debian/changelog
index 2ef16e90..354c13d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-apt (0.8.0ubuntu7) UNRELEASED; urgency=low
+
+ * aptsources/distinfo.py:
+ - make mirror a valid protocol name
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 Aug 2011 15:31:55 +0200
+
python-apt (0.8.0ubuntu6) oneiric; urgency=low
* debian/control: