summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-xredis/connection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index 9afae80..aa4b157 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -561,7 +561,8 @@ class Connection(object):
if not sock:
self.connect()
sock = self._sock
- return self._parser.can_read() or bool(select([sock], [], [], timeout)[0])
+ return self._parser.can_read() or \
+ bool(select([sock], [], [], timeout)[0])
def read_response(self):
"Read the response from a previously sent command"