summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xredis/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index b3c772e..02186b2 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -645,7 +645,7 @@ class Connection(object):
self.disconnect()
raise TimeoutError("Timeout reading from %s:%s" %
(self.host, self.port))
- except (socket.error, ConnectionError):
+ except socket.error:
self.disconnect()
e = sys.exc_info()[1]
raise ConnectionError("Error while reading from %s:%s : %s" %