Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimize
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 10:32:40 +0000 (10:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 10:32:40 +0000 (10:32 -0000)
emerge --searchdesc. (trunk r9031)

svn path=/main/branches/2.1.2/; revision=9032

pym/portage.py

index 14e763147af728841072768cac49995b152eccf8..835440c6a8c9da9f0aff1829afeea38830ea176c 100644 (file)
@@ -6105,7 +6105,8 @@ class vardbapi(dbapi):
                        vartree = globals()["db"][root]["vartree"]
                self.vartree = vartree
                self._aux_cache_keys = set(
-                       ["CHOST", "COUNTER", "DEPEND", "EAPI", "IUSE", "KEYWORDS",
+                       ["CHOST", "COUNTER", "DEPEND", "DESCRIPTION",
+                       "EAPI", "HOMEPAGE", "IUSE", "KEYWORDS",
                        "LICENSE", "PDEPEND", "PROVIDE", "RDEPEND", "NEEDED",
                        "repository", "RESTRICT" , "SLOT", "USE"])
                self._aux_cache = None