diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2018-11-01 21:48:59 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2018-11-01 21:48:59 -0700 |
commit | 92c9c5f198d1839d97c648208136600015a3dbb7 (patch) | |
tree | ebafac0897c0190edc7526e994d3ee38e2304574 /redis/client.py | |
parent | ff3bbdf903f10fe48bc36b43e4b682e89ad86295 (diff) | |
parent | d14f929ef024d62148b317f5e4197349d548e6a2 (diff) | |
download | redis-py-92c9c5f198d1839d97c648208136600015a3dbb7.tar.gz |
Merge branch 'master' of github.com:andymccurdy/redis-py
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index e095455..160cfb6 100755 --- a/redis/client.py +++ b/redis/client.py @@ -533,7 +533,7 @@ class StrictRedis(object): """ Return a Redis client object configured from the given URL, which must use either `the ``redis://`` scheme - <http://www.iana.org/assignments/uri-schemes/prov/redis>`_ for RESP + <https://www.iana.org/assignments/uri-schemes/prov/redis>`_ for RESP connections or the ``unix://`` scheme for Unix domain sockets. For example:: @@ -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) |