From 291e82879b70ed0b9f4628bebeff1fd1e047a7a3 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 10 Jan 2009 00:32:58 +0100 Subject: * aptsources/distinfo.py: Allows numbers in urls --- aptsources/distinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py index 7a318799..51a4361d 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-z0-9/\.:\-_@]+)$") #match_mirror_line = re.compile(r".+") if not dist: -- cgit v1.2.3