summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-07 22:24:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-07 22:24:39 +0000
commit9ca8fb0b5dd01436935cfc21bfd612455e5d4a20 (patch)
tree527ee39a67a844aa31381cd0417467ec2519ba56
parent6806009d322612ea97661d68d58a8195d0318dd6 (diff)
downloadportage-9ca8fb0b5dd01436935cfc21bfd612455e5d4a20.tar.gz
portage-9ca8fb0b5dd01436935cfc21bfd612455e5d4a20.tar.bz2
portage-9ca8fb0b5dd01436935cfc21bfd612455e5d4a20.zip
Cache IUSE for portdbapi.gvisible() calls.
svn path=/main/trunk/; revision=8000
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index eeda30f83..14a50b126 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -117,7 +117,8 @@ class portdbapi(dbapi):
self.auxdb[x] = self.auxdbmodule(
self.depcachedir, x, filtered_auxdbkeys, gid=portage_gid)
# Selectively cache metadata in order to optimize dep matching.
- self._aux_cache_keys = set(["EAPI", "KEYWORDS", "LICENSE", "SLOT"])
+ self._aux_cache_keys = set(
+ ["EAPI", "IUSE", "KEYWORDS", "LICENSE", "SLOT"])
self._aux_cache = {}
self._broken_ebuilds = set()