[Secure-testing-commits] r31472 - lib/python

Florian Weimer fw at moszumanska.debian.org
Sat Jan 17 23:38:45 UTC 2015


Author: fw
Date: 2015-01-17 23:38:45 +0000 (Sat, 17 Jan 2015)
New Revision: 31472

Modified:
   lib/python/security_db.py
Log:
security_db.DB._parseFile(): Only treat "Extra-Source-Only: yes" as skip-worthy


Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py	2015-01-17 23:37:06 UTC (rev 31471)
+++ lib/python/security_db.py	2015-01-17 23:38:45 UTC (rev 31472)
@@ -524,7 +524,7 @@
                     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")




More information about the Secure-testing-commits mailing list