diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-08 22:28:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-08 22:28:41 +0000 |
commit | f0b17e61c290fb95e033763438d3c5c2fd02dfc5 (patch) | |
tree | 3881c1978f60a1010417f0b94d0550bb15cc6262 | |
parent | 482c76bbd94c6280e8f352e4e458d9ec2e40e658 (diff) | |
download | portage-f0b17e61c290fb95e033763438d3c5c2fd02dfc5.tar.gz portage-f0b17e61c290fb95e033763438d3c5c2fd02dfc5.tar.bz2 portage-f0b17e61c290fb95e033763438d3c5c2fd02dfc5.zip |
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
-rw-r--r-- | pym/_emerge/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |