Bug #326787 - Fix intermittent failure to satisify dependencies in the
authorZac Medico <zmedico@gentoo.org>
Wed, 7 Jul 2010 23:11:32 +0000 (16:11 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 7 Jul 2010 23:11:32 +0000 (16:11 -0700)
scheduler, caused by failure to account for _merge_wait_queue inside
_choose_pkg.

pym/_emerge/Scheduler.py

index d22d104b19cd39ac67b2bf8b74a6909749902547..8f025f5e6467e7a9573cb3629854143b01b62f18 100644 (file)
@@ -1338,7 +1338,8 @@ class Scheduler(PollScheduler):
                                return None
                        return self._pkg_queue.pop(0)
 
-               if not (self._jobs or self._task_queues.merge):
+               if not (self._jobs or \
+                       self._task_queues.merge or self._merge_wait_queue):
                        return self._pkg_queue.pop(0)
 
                self._prune_digraph()