summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles-Henri de Boysson <ceache@users.noreply.github.com>2020-06-24 00:44:52 -0400
committerGitHub <noreply@github.com>2020-06-24 00:44:52 -0400
commit1a44214ce9e579c802e88fcfe83637737f80fa63 (patch)
tree9a6618e6be773946e6ac5976665ab54f7189f78b
parent522189da0f238faafc8f1db34f682f49b15ec503 (diff)
parent13c73ec5f4d4f2215deb987a059051bb821674ca (diff)
downloadkazoo-1a44214ce9e579c802e88fcfe83637737f80fa63.tar.gz
Merge branch 'master' into feat/build_refresh
-rw-r--r--kazoo/handlers/threading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kazoo/handlers/threading.py b/kazoo/handlers/threading.py
index 1ab3349..2192523 100644
--- a/kazoo/handlers/threading.py
+++ b/kazoo/handlers/threading.py
@@ -178,7 +178,7 @@ class SequentialThreadingHandler(object):
# anything to minimize changes
if _HAS_EPOLL:
# if the highest fd we've seen is > 1023
- if max(map(_to_fileno, chain(*args[:3]))) > 1023:
+ if max(map(_to_fileno, chain.from_iterable(args[:3]))) > 1023:
return self._epoll_select(*args, **kwargs)
return self._select(*args, **kwargs)