summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2015-01-17 23:38:45 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2015-01-17 23:38:45 +0000
commit992379d53f5786a27725df14ef55c88a6e6c8d95 (patch)
treeaf8e092f0ecc6eb88224a4302a4044168a700606 /lib
parentc6bd3a320bddb2dda834240bfd10db6a988fdf16 (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.py2
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")

© 2014-2024 Faster IT GmbH | imprint | privacy policy