diff options
author | Aaron Yang <ycr_aaron@foxmail.com> | 2018-08-23 15:51:56 +0800 |
---|---|---|
committer | Aaron Yang <ycr_aaron@foxmail.com> | 2018-08-23 15:51:56 +0800 |
commit | 61293ff5672f467f552e1f25b9efb490a90983c0 (patch) | |
tree | 7b6f60ca80e2165b4a4c7243427c14bea74d47cd | |
parent | ee520ed1b351e63b2c672c5f29a64fd7afa56a2e (diff) | |
download | redis-py-61293ff5672f467f552e1f25b9efb490a90983c0.tar.gz |
pep8
-rwxr-xr-x | redis/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index f06c9ff..5f252e4 100755 --- a/redis/client.py +++ b/redis/client.py @@ -669,7 +669,8 @@ class StrictRedis(object): return self.parse_response(connection, command_name, **options) except (ConnectionError, TimeoutError) as e: connection.disconnect() - if (not connection.retry_on_timeout and isinstance(e, TimeoutError)): + if (not connection.retry_on_timeout and + isinstance(e, TimeoutError)): raise connection.send_command(*args) return self.parse_response(connection, command_name, **options) |