From 8c1fcf5a9ba9fa4d406a4d0cc284fe73a84f5a63 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 8 Feb 2012 15:43:50 -0800 Subject: [PATCH] Scheduler: remove _idle_schedule This shouldn't be needed, since _schedule() should already be called automatically when there are any relevant state changes. --- pym/_emerge/Scheduler.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 770cb6c6c..ee7a02ca3 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -196,7 +196,6 @@ class Scheduler(PollScheduler): self._status_display = JobStatusDisplay( xterm_titles=('notitles' not in settings.features)) - self.sched_iface.idle_add(self._idle_schedule) self.sched_iface.timeout_add(self._max_display_latency, self._status_display.display) self._max_load = myopts.get("--load-average") @@ -356,10 +355,6 @@ class Scheduler(PollScheduler): self._set_graph_config(None) gc.collect() - def _idle_schedule(self): - self._schedule() - return True - def _set_max_jobs(self, max_jobs): self._max_jobs = max_jobs self._task_queues.jobs.max_jobs = max_jobs -- 2.26.2