From 6227c6006ba9f0c1747490bd74f52848a7dcf3d9 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 6 Feb 2017 08:46:58 -0800 Subject: [PATCH] Fix typo when choosing KqueueSelector --- lib/ansible/compat/selectors/_selectors2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/compat/selectors/_selectors2.py b/lib/ansible/compat/selectors/_selectors2.py index 8b1dc866bb3..686fd46a124 100644 --- a/lib/ansible/compat/selectors/_selectors2.py +++ b/lib/ansible/compat/selectors/_selectors2.py @@ -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