Re-enable vardbapi.cpv_all() cache now that bug #223417 is solved.
authorZac Medico <zmedico@gentoo.org>
Mon, 16 Jun 2008 11:33:14 +0000 (11:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 16 Jun 2008 11:33:14 +0000 (11:33 -0000)
(trunk r10661)

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

bin/emerge

index 6921b7d1daa1bbd8f784cc20ca86a0b2ecee01f0..18a4b5c395e57873fc1f0bc2672b44bdb40e9b0e 100755 (executable)
@@ -1176,7 +1176,7 @@ class FakeVartree(portage.vartree):
                                vdb_lock = portage_locks.lockdir(vdb_path)
                        real_dbapi = real_vartree.dbapi
                        slot_counters = {}
-                       for cpv in real_dbapi.cpv_all(use_cache=0):
+                       for cpv in real_dbapi.cpv_all():
                                cache_key = ("installed", self.root, cpv, "nomerge")
                                pkg = self._pkg_cache.get(cache_key)
                                if pkg is not None: