From b7ea99c8efbfaa72b46ee929b24b1e418bddde27 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Oct 2008 02:52:41 +0000 Subject: [PATCH] Fix broken logic in Scheduler._main_loop() which would allow the main loop to exit while one or more merges are still scheduled. Thanks to Patrick Lauer for reporting. svn path=/main/trunk/; revision=11607 --- 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 865e17198..366568c51 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -9857,7 +9857,7 @@ class Scheduler(PollScheduler): while True: self._schedule() - if not self._jobs or merge_queue: + if not (self._jobs or merge_queue): break if self._poll_event_handlers: self._poll_loop() -- 2.26.2