Fix typo when choosing KqueueSelector

This commit is contained in:
Toshio Kuratomi 2017-02-06 08:46:58 -08:00
parent 39ea50b731
commit 6227c6006b

View file

@ -652,7 +652,7 @@ if hasattr(select, "kqueue"):
# select() also can't accept a FD > FD_SETSIZE (usually around 1024)
if 'KqueueSelector' in globals(): # Platform-specific: Mac OS and BSD
DefaultSelector = KqueueSelector
if 'DevpollSelector' in globals():
elif 'DevpollSelector' in globals():
DefaultSelector = DevpollSelector
elif 'EpollSelector' in globals(): # Platform-specific: Linux
DefaultSelector = EpollSelector