From eb4f978ff50af015c0cda09f51934b48249744ea Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 11 Aug 2011 15:31:22 +0200 Subject: * aptsources/distinfo.py: - make mirror a valid protocol name --- aptsources/distinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aptsources') diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py index 48a72719..ac4a4b40 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".+") -- cgit v1.2.3