From f0b17e61c290fb95e033763438d3c5c2fd02dfc5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Jul 2008 22:28:41 +0000 Subject: [PATCH] In scheduler._schedule_main(), only consider a poll() event to be a state change if it results in a handler being unregistered. svn path=/main/trunk/; revision=10992 --- 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 e9ad9f2c1..d3a8008fc 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8235,9 +8235,9 @@ class Scheduler(object): jobs = self._jobs for f, event in poll(): - state_change += 1 handler, reg_id = event_handlers[f] if not handler(f, event): + state_change += 1 self._unregister(reg_id) if jobs == self._jobs: -- 2.26.2