portage._internal_caller: use global_event_loop
authorZac Medico <zmedico@gentoo.org>
Fri, 4 Jan 2013 02:23:42 +0000 (18:23 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 4 Jan 2013 02:23:42 +0000 (18:23 -0800)
commitb1637bc9d66bbee3a036dae968ef05aa4d4ac15d
tree15668a70acfdd818d64ca3dd204a380c029dd6a9
parent0fe235cfd0200644c205a7b4aabb1330e7f04402
portage._internal_caller: use global_event_loop

It's more efficient to use global_event_loop than a local EventLoop
instance, so do that when we know it's safe.
pym/_emerge/PollScheduler.py
pym/portage/dbapi/vartree.py
pym/portage/package/ebuild/_spawn_nofetch.py
pym/portage/package/ebuild/doebuild.py