summaryrefslogtreecommitdiff
path: root/redis/_compat.py
diff options
context:
space:
mode:
authorRoey Prat <roey.prat@redislabs.com>2018-10-17 15:36:04 +0300
committerRoey Prat <roey.prat@redislabs.com>2018-10-28 12:12:54 +0200
commit04784cb2ecb0847198aaf64102e5129868c17da6 (patch)
tree2495cbb9fe7eccf915d9e6d4492b7baa06a74ff5 /redis/_compat.py
parent07eacf3ba5e5f87bafe992a51e04971ee0fd8b12 (diff)
downloadredis-py-04784cb2ecb0847198aaf64102e5129868c17da6.tar.gz
pycodestyle fixes in client
Diffstat (limited to 'redis/_compat.py')
-rw-r--r--redis/_compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/_compat.py b/redis/_compat.py
index 307f3cc..32063e7 100644
--- a/redis/_compat.py
+++ b/redis/_compat.py
@@ -4,7 +4,7 @@ import sys
try:
InterruptedError = InterruptedError
-except:
+except NameError:
InterruptedError = OSError
# For Python older than 3.5, retry EINTR.