summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2006-09-27 18:13:34 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2006-09-27 18:13:34 +0000
commitd579f722a1eb83b6ce8828b2d3f3ec774e78818b (patch)
tree4c2c9dc3f23ee2898ee43a0c57bd888e9a7cf776 /lib
parentab048ef342a8ffd947027ca69e11ee04346e397b (diff)
* lib/python/security_db.py (DB._parseFile):
Relax regexp for source versions, to support the new ~ syntax. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4773 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r--lib/python/security_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py
index c4f7b1b259..7c1d8d0858 100644
--- a/lib/python/security_db.py
+++ b/lib/python/security_db.py
@@ -473,7 +473,7 @@ class DB:
print " reading " + `filename`
re_source = re.compile\
- (r'^([a-zA-Z0-9.+-]+)(?:\s+\(([a-zA-Z0-9.+:-]+)\))?$')
+ (r'^([a-zA-Z0-9.+-]+)(?:\s+\(([a-zA-Z0-9.+:~-]+)\))?$')
data = []
for pkg in packages:

© 2014-2024 Faster IT GmbH | imprint | privacy policy