summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-05 22:40:18 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-05 22:40:18 +0000
commitcb372e381eadc032e2e9c08a49c93777f6821bbc (patch)
tree7c2dd39bf2509a0adc989f0ffdd8ef749d68b4d5
parentcc8204e586b20c4c4b45dba9bd5688aa911d1a3b (diff)
downloadportage-cb372e381eadc032e2e9c08a49c93777f6821bbc.tar.gz
portage-cb372e381eadc032e2e9c08a49c93777f6821bbc.tar.bz2
portage-cb372e381eadc032e2e9c08a49c93777f6821bbc.zip
Add ACCEPT_LICENSE and ACCEPT_PROPERTIES to the Packages file header.
svn path=/main/trunk/; revision=14204
-rw-r--r--pym/portage/dbapi/bintree.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index a3b1236b9..b96f4d4fa 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -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 = {