diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-11 15:31:22 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-11 15:31:22 +0200 |
| commit | eb4f978ff50af015c0cda09f51934b48249744ea (patch) | |
| tree | e1cad975ca2fc3c0e889d82a5711b7052a46478d /aptsources | |
| parent | 4cf6c707ad028c8185e6df30c256f72032bbf8f4 (diff) | |
| download | python-apt-eb4f978ff50af015c0cda09f51934b48249744ea.tar.gz | |
* aptsources/distinfo.py:
- make mirror a valid protocol name
Diffstat (limited to 'aptsources')
| -rw-r--r-- | aptsources/distinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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".+") |
