From 98a46c95c9a4779e7d84cb7a06c4bd6947f30d95 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 13 Jul 2008 04:30:06 +0000 Subject: [PATCH] Fix Scheduler._schedule_tasks() so that it never schedules a task when a package has already failed. svn path=/main/trunk/; revision=11032 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 14c146665..4f5042567 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8812,7 +8812,7 @@ class Scheduler(PollScheduler): while self._can_add_job(): - if not self._pkg_queue: + if not self._pkg_queue or self._failed_pkgs: return False pkg = self._choose_pkg() -- 2.26.2