diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2018-11-01 14:22:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 14:22:47 -0700 |
commit | fc7ec59f1d63398ae2a05ee9a625d09ab089a120 (patch) | |
tree | d9124df37453d0e18364750f6aaa0926f6b720a3 /redis/client.py | |
parent | c2227960548169c0f0549750e0a1f7bd0a126177 (diff) | |
parent | 39283c4b27367a7f93b4e0217e95ddc2e8dc6436 (diff) | |
download | redis-py-fc7ec59f1d63398ae2a05ee9a625d09ab089a120.tar.gz |
Merge pull request #1039 from jeffwidman/patch-2
"while 1" --> "while True"
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index 0cb6fca..b6c0da3 100755 --- a/redis/client.py +++ b/redis/client.py @@ -649,7 +649,7 @@ class StrictRedis(object): value_from_callable = kwargs.pop('value_from_callable', False) watch_delay = kwargs.pop('watch_delay', None) with self.pipeline(True, shard_hint) as pipe: - while 1: + while True: try: if watches: pipe.watch(*watches) |