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

svn path=/main/trunk/; revision=9031

pym/portage/dbapi/vartree.py

index 8af2bde5d8dd6d228e6a2340e01e67df38ca4062..3bd92c8ba3a78277183b29a780824cded01f5d10 100644 (file)
@@ -189,7 +189,8 @@ class vardbapi(dbapi):
                        vartree = 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