diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-02-10 18:55:19 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-10 18:55:19 -0800 |
commit | a79b320609b56ee222eca71b1bd45a203333f6d0 (patch) | |
tree | 0bac4ff3c566a16b6459e10bf45beee0ee8bde08 /pym/portage | |
parent | 613486a70464ca8c6bd2fdbf68514168e3014b47 (diff) | |
download | portage-a79b320609b56ee222eca71b1bd45a203333f6d0.tar.gz portage-a79b320609b56ee222eca71b1bd45a203333f6d0.tar.bz2 portage-a79b320609b56ee222eca71b1bd45a203333f6d0.zip |
GlibEventLoop: use gi.repository.GLib
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/util/_eventloop/GlibEventLoop.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pym/portage/util/_eventloop/GlibEventLoop.py b/pym/portage/util/_eventloop/GlibEventLoop.py index 1e064eb29..0d33175ea 100644 --- a/pym/portage/util/_eventloop/GlibEventLoop.py +++ b/pym/portage/util/_eventloop/GlibEventLoop.py @@ -1,11 +1,6 @@ # Copyright 2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -import portage -portage.proxy.lazyimport.lazyimport(globals(), - 'glib', -) - class GlibEventLoop(object): # TODO: Support multiprocessing by using a separate glib.MainContext @@ -13,6 +8,7 @@ class GlibEventLoop(object): supports_multiprocessing = False def __init__(self): + import gi.repository.GLib as glib self.IO_ERR = glib.IO_ERR self.IO_HUP = glib.IO_HUP self.IO_IN = glib.IO_IN |