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: