summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c280b4a1e..9629277a8 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -9568,6 +9568,9 @@ class Scheduler(PollScheduler):
return None
return self._pkg_queue.pop(0)
+ if not (self._jobs or self._task_queues.merge):
+ return self._pkg_queue.pop(0)
+
self._prune_digraph()
chosen_pkg = None