From c811cbf837e9a81f656d7883a231e23c209c73de Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 10 Jan 2013 06:06:34 -0800 Subject: Use EventLoop, no SchedulerInterface if possible. --- pym/portage/dbapi/vartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index ba149b745..be93e1fd7 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -4746,8 +4746,8 @@ class dblink(object): proc = SyncfsProcess(paths=paths, scheduler=(self._scheduler or - SchedulerInterface(portage._internal_caller and - global_event_loop() or EventLoop(main=False)))) + portage._internal_caller and global_event_loop() or + EventLoop(main=False))) proc.start() returncode = proc.wait() -- cgit v1.2.3-1-g7c22