diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-11-07 07:27:23 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-11-07 07:27:23 -0800 |
commit | a0961708ced50c90497811058eda6f4513d2986d (patch) | |
tree | cd361391a487292dbcd2c7f31d314f7bc698ad66 /pym/portage/dbapi/vartree.py | |
parent | c17d8dabe4c64fc4ed87ac9a0637f8ccc9341823 (diff) | |
download | portage-a0961708ced50c90497811058eda6f4513d2986d.tar.gz portage-a0961708ced50c90497811058eda6f4513d2986d.tar.bz2 portage-a0961708ced50c90497811058eda6f4513d2986d.zip |
REQUIRED_USE: don't save in built packages
It should be safe to assume that REQUIRED_USE is satisfied if the
package is built, so it's a waste to save it. Also, fix code which
assumes that built Package instances have a REQUIRED_USE key in their
metadata.
Diffstat (limited to 'pym/portage/dbapi/vartree.py')
-rw-r--r-- | pym/portage/dbapi/vartree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 73772b0e0..dd74c10f4 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -157,7 +157,7 @@ class vardbapi(dbapi): "EAPI", "HOMEPAGE", "IUSE", "KEYWORDS", "LICENSE", "PDEPEND", "PROPERTIES", "PROVIDE", "RDEPEND", "repository", "RESTRICT" , "SLOT", "USE", "DEFINED_PHASES", - "REQUIRED_USE"]) + ]) self._aux_cache_obj = None self._aux_cache_filename = os.path.join(self._eroot, CACHE_PATH, "vdb_metadata.pickle") |