summaryrefslogtreecommitdiff
path: root/kafka/client_async.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-02-15 11:05:41 -0800
committerDana Powers <dana.powers@gmail.com>2016-02-15 11:05:41 -0800
commit6c213d62b6ffb52decfb58b57eef41963e570244 (patch)
tree782d6b275ad9d019d9e6ae71362b8b05d1f45fe0 /kafka/client_async.py
parent4d17ec257f7934097e048b190df0075068787b6b (diff)
downloadkafka-python-6c213d62b6ffb52decfb58b57eef41963e570244.tar.gz
Fixup RequestTimeoutError -> RequestTimedOutError
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r--kafka/client_async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py
index 844d3b3..25ef29f 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -633,7 +633,7 @@ class KafkaClient(object):
# If the socket flush hack did not work (which should force the
# connection to close and fail all pending requests), then we
# get a basic Request Timeout. Thisisn
- if isinstance(f.exception, Errors.RequestTimeoutError):
+ if isinstance(f.exception, Errors.RequestTimedOutError):
pass
elif six.PY2:
assert isinstance(f.exception.args[0], socket.error)