diff options
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" |