import time
from portage.util import writemsg_level
-from portage.util.SlotObject import SlotObject
-from portage.util._eventloop.PollConstants import PollConstants
-from portage.util._eventloop.PollSelectAdapter import PollSelectAdapter
+from ..SlotObject import SlotObject
+from .PollConstants import PollConstants
+from .PollSelectAdapter import PollSelectAdapter
class EventLoop(object):
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-from portage.util._eventloop.PollConstants import PollConstants
+from .PollConstants import PollConstants
import select
class PollSelectAdapter(object):
import os
-from portage.util._eventloop.EventLoop import EventLoop
+from .EventLoop import EventLoop
_default_constructor = EventLoop
-#from portage.util._eventloop.GlibEventLoop \
-# import GlibEventLoop as _default_constructor
+#from .GlibEventLoop import GlibEventLoop as _default_constructor
# If _default_constructor doesn't support multiprocessing,
# then _multiprocessing_constructor is used in subprocesses.