[Secure-testing-commits] r14375 - bin
Giuseppe Iuculano
derevko-guest at alioth.debian.org
Fri Apr 2 14:03:29 UTC 2010
Author: derevko-guest
Date: 2010-04-02 14:03:25 +0000 (Fri, 02 Apr 2010)
New Revision: 14375
Modified:
bin/dsa2list
Log:
bin/dsa2list: search also the line "Debian (<release>)" to determine the release
Modified: bin/dsa2list
===================================================================
--- bin/dsa2list 2010-04-02 04:10:37 UTC (rev 14374)
+++ bin/dsa2list 2010-04-02 14:03:25 UTC (rev 14375)
@@ -64,6 +64,7 @@
re_cve = re.compile('(CVE-\d{4}-\d{4})')
release_headline_re = re.compile(
r'^Debian GNU/Linux [0-9.]+ (?:\(|alias) ([a-z]+).*')
+release_headline_re_s = re.compile(r'^Debian \((\w+)\)')
dscurl_re = re.compile(r'^\s*(http://\S+\.dsc).*')
# Variants used by "dak new-security-install"
@@ -98,6 +99,12 @@
if match:
(release,) = match.groups()
continue
+ else:
+ match = release_headline_re_s.match(line)
+ if match:
+ (release,) = match.groups()
+ release = release_map[release]
+ continue
match = dscurl_re.match(line)
if match:
More information about the Secure-testing-commits
mailing list