Cache IUSE for portdbapi.gvisible() calls.
authorZac Medico <zmedico@gentoo.org>
Sun, 7 Oct 2007 22:24:39 +0000 (22:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 7 Oct 2007 22:24:39 +0000 (22:24 -0000)
svn path=/main/trunk/; revision=8000

pym/portage/dbapi/porttree.py

index eeda30f83c3350cb89aca8a571e6134dffa9e014..14a50b126eaa3ca1f1f7b369d43a8f4cf0f0d51b 100644 (file)
@@ -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()