From 85092ca90d90b2814f5fae085737860799f28c7f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 12 Jul 2008 23:19:12 +0000 Subject: [PATCH] Rename PollScheduler._schedule() to _schedule_wait(). svn path=/main/trunk/; revision=11029 --- pym/_emerge/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index b13733fa4..065d89bfe 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8015,7 +8015,7 @@ class PollScheduler(object): del self._poll_event_handlers[f] del self._poll_event_handler_ids[reg_id] - def _schedule(self, wait_ids): + def _schedule_wait(self, wait_ids): """ Schedule until wait_id is not longer registered for poll() events. @@ -8051,7 +8051,7 @@ class QueueScheduler(PollScheduler): self._max_load = max_load self.sched_iface = self._sched_iface_class( register=self._register, - schedule=self._schedule, + schedule=self._schedule_wait, unregister=self._unregister) self._queues = [] @@ -8208,7 +8208,7 @@ class Scheduler(PollScheduler): schedule=self._schedule_fetch) self._sched_iface = self._iface_class( fetch=fetch_iface, register=self._register, - schedule=self._schedule, unregister=self._unregister) + schedule=self._schedule_wait, unregister=self._unregister) self._task_queues = self._task_queues_class() for k in self._task_queues.allowed_keys: @@ -8995,7 +8995,7 @@ class MetadataRegen(PollScheduler): self._max_load = max_load self._sched_iface = self._sched_iface_class( register=self._register, - schedule=self._schedule, + schedule=self._schedule_wait, unregister=self._unregister) self._valid_pkgs = set() -- 2.26.2