summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2014-08-15 14:17:20 -0700
committerAndy McCurdy <andy@andymccurdy.com>2014-08-15 14:17:20 -0700
commita68630780c88f710a008a0b5dc9760547c077bd6 (patch)
tree42a54f5421c038fe73639dc63d0d8bc4faeebe80 /redis/connection.py
parent5c4273b7ca6b0bac15e9f23e6a9da25af16e9991 (diff)
downloadredis-py-a68630780c88f710a008a0b5dc9760547c077bd6.tar.gz
pep8
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"