Add ACCEPT_LICENSE and ACCEPT_PROPERTIES to the Packages file header.
authorZac Medico <zmedico@gentoo.org>
Sat, 5 Sep 2009 22:40:18 +0000 (22:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 5 Sep 2009 22:40:18 +0000 (22:40 -0000)
svn path=/main/trunk/; revision=14204

pym/portage/dbapi/bintree.py

index a3b1236b9699afe8f53737e63c270d221b7451da..b96f4d4faf8a5b1dd2ea384941bba69991094cba 100644 (file)
@@ -185,7 +185,9 @@ class binarytree(object):
                        self._pkgindex_use_evaluated_keys = \
                                ("LICENSE", "RDEPEND", "DEPEND",
                                "PDEPEND", "PROPERTIES", "PROVIDE")
-                       self._pkgindex_header_keys = set(["ACCEPT_KEYWORDS", "CBUILD",
+                       self._pkgindex_header_keys = set([
+                               "ACCEPT_KEYWORDS", "ACCEPT_LICENSE",
+                               "ACCEPT_PROPERTIES", "CBUILD",
                                "CHOST", "CONFIG_PROTECT", "CONFIG_PROTECT_MASK", "FEATURES",
                                "GENTOO_MIRRORS", "INSTALL_MASK", "SYNC", "USE"])
                        self._pkgindex_default_pkg_data = {