diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-01-10 00:32:58 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-01-10 00:32:58 +0100 |
| commit | 291e82879b70ed0b9f4628bebeff1fd1e047a7a3 (patch) | |
| tree | 0b404707c30418e8c168a2a68df0edb2c09a6bb9 | |
| parent | 2d319fe412d9a506b9ab8b107cb2470f03dd5a11 (diff) | |
| download | python-apt-291e82879b70ed0b9f4628bebeff1fd1e047a7a3.tar.gz | |
* aptsources/distinfo.py: Allows numbers in urls
| -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 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: |
