From 00d168d306635ab407dec3db50dd36e99bb44375 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 7 Oct 2012 19:30:51 -0700 Subject: PollScheduler: rename sched_iface to _sched_iface It isn't used externally anymore, since SchedulerInterface is used directly in those places now. Many of the self.sched_iface references updated here, it's more appropriate to use self._event_loop. --- pym/portage/tests/ebuild/test_ipc_daemon.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pym/portage/tests/ebuild/test_ipc_daemon.py') diff --git a/pym/portage/tests/ebuild/test_ipc_daemon.py b/pym/portage/tests/ebuild/test_ipc_daemon.py index 5f2257cbb..a87107625 100644 --- a/pym/portage/tests/ebuild/test_ipc_daemon.py +++ b/pym/portage/tests/ebuild/test_ipc_daemon.py @@ -110,10 +110,8 @@ class IpcDaemonTestCase(TestCase): commands = {'exit' : exit_command} daemon = EbuildIpcDaemon(commands=commands, input_fifo=input_fifo, - output_fifo=output_fifo, - scheduler=task_scheduler.sched_iface) - proc = SleepProcess(seconds=sleep_time_s, - scheduler=task_scheduler.sched_iface) + output_fifo=output_fifo) + proc = SleepProcess(seconds=sleep_time_s) task_scheduler = TaskScheduler(iter([daemon, proc]), max_jobs=2, event_loop=event_loop) -- cgit v1.2.3-65-gdbad