From f9ab7e8cba34b547b3295409bc70a3b41da76e7c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 10 Jan 2009 00:28:17 +0100 Subject: * aptsources/distinfo.py: Allow @ in mirror urls (Closes: #478171) --- aptsources/distinfo.py | 2 +- debian/changelog | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py index 42395bc5..7a318799 100644 --- a/aptsources/distinfo.py +++ b/aptsources/distinfo.py @@ -132,7 +132,7 @@ class DistInfo: location = None match_loc = re.compile(r"^#LOC:(.+)$") - match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(https))://[A-Za-z/\.:\-_]+)$") + match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(https))://[A-Za-z/\.:\-_@]+)$") #match_mirror_line = re.compile(r".+") if not dist: diff --git a/debian/changelog b/debian/changelog index 0bd352b0..0324ae09 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,8 +25,10 @@ python-apt (0.7.9~exp2) experimental; urgency=low - Remove the Conflicts on python2.3-apt, python2.4-apt, as they are only needed for oldstable (sarge) - Build-Depend on python-sphinx (>= 0.5) + * aptsources/distinfo.py: + - Allow @ in mirror urls (Closes: #478171) - -- Julian Andres Klode Fri, 09 Jan 2009 18:11:30 +0100 + -- Julian Andres Klode Sat, 10 Jan 2009 00:26:57 +0100 python-apt (0.7.9~exp1) experimental; urgency=low -- cgit v1.2.3