Skip to content

Commit

Permalink
Fix kqueue implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dusty Phillips committed Jan 25, 2010
1 parent 117401d commit e34ee05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion psyclone/ioloop.py
Expand Up @@ -392,9 +392,11 @@ def poll(self, timeout):
_poll = select.epoll
except AttributeError:
try:
_poll = _KQueue
kqueue = select.kqueue
except AttributeError:
import sys
if "linux" in sys.platform:
logging.warning("epoll module not found; using select()")
_poll = _Select
else
_poll = _KQueue

0 comments on commit e34ee05

Please sign in to comment.