summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-10 06:06:34 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-10 06:06:34 -0800
commitc811cbf837e9a81f656d7883a231e23c209c73de (patch)
tree29de4f3241f52b8d3757fea1ae775e1823575418
parent2d76e5e77d2be40f5635140dbbbf0b4d60f20dc1 (diff)
downloadportage-c811cbf837e9a81f656d7883a231e23c209c73de.tar.gz
portage-c811cbf837e9a81f656d7883a231e23c209c73de.tar.bz2
portage-c811cbf837e9a81f656d7883a231e23c209c73de.zip
Use EventLoop, no SchedulerInterface if possible.
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
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()