Scheduler: cache more Packages in --nodeps mode
authorZac Medico <zmedico@gentoo.org>
Thu, 6 Jan 2011 01:58:03 +0000 (17:58 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 6 Jan 2011 01:58:03 +0000 (17:58 -0800)
pym/_emerge/Scheduler.py

index d30abc40570c9b412e56e81d1cc04c8ecda83bf8..b38c971004229fdd479d2b7aeaf661567865c667 100644 (file)
@@ -451,6 +451,8 @@ class Scheduler(PollScheduler):
                        graph_config.graph = None
                        graph_config.pkg_cache.clear()
                        self._deep_system_deps.clear()
+                       for pkg in self._mergelist:
+                               self._pkg_cache[pkg] = pkg
                        return
 
                self._find_system_deps()