[Secure-testing-commits] r4773 - lib/python
Florian Weimer
fw at costa.debian.org
Wed Sep 27 18:13:46 UTC 2006
Author: fw
Date: 2006-09-27 18:13:34 +0000 (Wed, 27 Sep 2006)
New Revision: 4773
Modified:
lib/python/security_db.py
Log:
* lib/python/security_db.py (DB._parseFile):
Relax regexp for source versions, to support the new ~ syntax.
Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py 2006-09-27 17:28:01 UTC (rev 4772)
+++ lib/python/security_db.py 2006-09-27 18:13:34 UTC (rev 4773)
@@ -473,7 +473,7 @@
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:
More information about the Secure-testing-commits
mailing list