diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2014-08-15 14:17:20 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2014-08-15 14:17:20 -0700 |
commit | a68630780c88f710a008a0b5dc9760547c077bd6 (patch) | |
tree | 42a54f5421c038fe73639dc63d0d8bc4faeebe80 /redis/connection.py | |
parent | 5c4273b7ca6b0bac15e9f23e6a9da25af16e9991 (diff) | |
download | redis-py-a68630780c88f710a008a0b5dc9760547c077bd6.tar.gz |
pep8
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 3 |
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" |