diff --git a/psyclone/ioloop.py b/psyclone/ioloop.py index 31496602de..dad7903d91 100644 --- a/psyclone/ioloop.py +++ b/psyclone/ioloop.py @@ -392,11 +392,8 @@ def poll(self, timeout): _poll = select.epoll except AttributeError: try: - kqueue = select.kqueue + kqueue = select.KQueue except AttributeError: - import sys - if "linux" in sys.platform: - logging.warning("epoll module not found; using select()") _poll = _Select - else + else: _poll = _KQueue