summaryrefslogtreecommitdiff
path: root/lib/ansible/compat
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-02-06 08:46:58 -0800
committerToshio Kuratomi <a.badger@gmail.com>2017-02-06 08:46:58 -0800
commit6227c6006ba9f0c1747490bd74f52848a7dcf3d9 (patch)
tree2760607746a1e025a243e124c2873f95e41467b2 /lib/ansible/compat
parent39ea50b731d8aeb0e036886a6218c72254b9b69d (diff)
downloadansible-6227c6006ba9f0c1747490bd74f52848a7dcf3d9.tar.gz
Fix typo when choosing KqueueSelector
Diffstat (limited to 'lib/ansible/compat')
-rw-r--r--lib/ansible/compat/selectors/_selectors2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/compat/selectors/_selectors2.py b/lib/ansible/compat/selectors/_selectors2.py
index 8b1dc866bb..686fd46a12 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