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:32:32 +0000 (19:32 -0800)
pym/_emerge/Scheduler.py

index 890fad431f4e384bef487924ac8ebcf0531ff19d..f237a0205bcc33c2d6a04ee8848a7784965aea3d 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)