Use EventLoop, no SchedulerInterface if possible.
authorZac Medico <zmedico@gentoo.org>
Thu, 10 Jan 2013 14:06:34 +0000 (06:06 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 10 Jan 2013 14:06:34 +0000 (06:06 -0800)
pym/portage/dbapi/vartree.py

index ba149b745d3506b3f63299d7c92aeec541c92756..be93e1fd72492c2247b17d066ab6ddb65bb45f7e 100644 (file)
@@ -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()