diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2015-01-17 23:38:45 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2015-01-17 23:38:45 +0000 |
commit | 992379d53f5786a27725df14ef55c88a6e6c8d95 (patch) | |
tree | af8e092f0ecc6eb88224a4302a4044168a700606 /lib | |
parent | c6bd3a320bddb2dda834240bfd10db6a988fdf16 (diff) |
security_db.DB._parseFile(): Only treat "Extra-Source-Only: yes" as skip-worthy
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31472 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py index 36543a26d9..6149e1197b 100644 --- a/lib/python/security_db.py +++ b/lib/python/security_db.py @@ -524,7 +524,7 @@ class DB: elif name == "Architecture": pkg_arch = contents elif name == "Extra-Source-Only": - pkg_extra_source_only = True + pkg_extra_source_only = contents.strip() == "yes" if pkg_name is None: raise SyntaxError\ ("package record does not contain package name") |