Author: thijs Date: 2008-10-07 07:03:04 +0000 (Tue, 07 Oct 2008) New Revision: 10016 Modified: bin/dsa2list Log: also support subjects that have "DSA-nnnn-i" instead of "DSA nnnn-i", this caused some recent advisories not to be added automatically Modified: bin/dsa2list ==================================================================--- bin/dsa2list 2008-10-07 06:53:18 UTC (rev 10015) +++ bin/dsa2list 2008-10-07 07:03:04 UTC (rev 10016) @@ -58,7 +58,7 @@ assert version is not None return (source, version) -re_title = re.compile(r''^Subject: .*\[DSA (\d+-\d+)\] .* fix(?:es)? (.*)$'') +re_title = re.compile(r''^Subject: .*\[DSA[ -](\d+-\d+)\] .* fix(?:es)? (.*)$'') re_date = re.compile(r''^([A-Z][a-z][a-z])[a-z]* (\d+)[a-z]*, (\d+)\s+http://.*'') re_cve = re.compile(''(CVE-\d{4}-\d{4})'')