From: Zac Medico Date: Thu, 10 Jan 2013 14:06:34 +0000 (-0800) Subject: Use EventLoop, no SchedulerInterface if possible. X-Git-Tag: v2.2.0_alpha150~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c811cbf837e9a81f656d7883a231e23c209c73de;p=portage.git Use EventLoop, no SchedulerInterface if possible. --- 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()