Scheduler: always share FakeVartree pkg_cache
authorZac Medico <zmedico@gentoo.org>
Thu, 6 Jan 2011 03:32:32 +0000 (19:32 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 6 Jan 2011 03:34:48 +0000 (19:34 -0800)
pym/_emerge/Scheduler.py

index 64ad2b4ef8a4171270f13faad178b8b5c048ce25..5e5b69f213afc5272ff6d26f55b8fcac4f585912 100644 (file)
@@ -305,7 +305,8 @@ class Scheduler(PollScheduler):
                self._blocker_db = {}
                for root in self.trees:
                        if graph_config is None:
-                               fake_vartree = FakeVartree(self.trees[root]["root_config"])
+                               fake_vartree = FakeVartree(self.trees[root]["root_config"],
+                                       pkg_cache=self._pkg_cache)
                        else:
                                fake_vartree = graph_config.trees[root]['vartree']
                        self._blocker_db[root] = BlockerDB(fake_vartree)