summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-19 13:22:56 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-19 13:22:56 +0000
commitb897e4d00f69ac16554a5c554da9735c4ceb9435 (patch)
treec48ea6247e3867ce60a5a19460c128297e68dbd5
parent6cc52fd2cd284951ec56ef1da96bc4b6ebb77acb (diff)
downloadportage-b897e4d00f69ac16554a5c554da9735c4ceb9435.tar.gz
portage-b897e4d00f69ac16554a5c554da9735c4ceb9435.tar.bz2
portage-b897e4d00f69ac16554a5c554da9735c4ceb9435.zip
Calling _schedule() from Scheduler._poll() is unsafe since the _schedule()
call itself can consume poll events. Therefore, until a safe way exists, don't do it. svn path=/main/trunk/; revision=11141
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index d8583f9d5..a9d9c9179 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8767,7 +8767,7 @@ class Scheduler(PollScheduler):
self._running_root, installed=True)
def _poll(self, timeout=None):
- self._schedule()
+ self._status_display.display()
return PollScheduler._poll(self, timeout=timeout)
def _set_max_jobs(self, max_jobs):