diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-04-09 15:41:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 15:41:23 -0700 |
commit | 27ebfc46b35f228fb030b6d807d30b9c0cefac83 (patch) | |
tree | c36304f65deb81ae72818cccd876c1b23c48d193 | |
parent | d1279291d68c77709d69fe13aa7ff6d912d98ce4 (diff) | |
download | redis-py-27ebfc46b35f228fb030b6d807d30b9c0cefac83.tar.gz |
Fix typo: occured → occurred (#1315)
-rwxr-xr-x | redis/client.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redis/client.py b/redis/client.py index 1393a1c..07aa9f6 100755 --- a/redis/client.py +++ b/redis/client.py @@ -3841,8 +3841,8 @@ class Pipeline(Redis): # indicates the user should retry this transaction. if self.watching: self.reset() - raise WatchError("A ConnectionError occured on while watching " - "one or more keys") + raise WatchError("A ConnectionError occurred on while " + "watching one or more keys") # if retry_on_timeout is not set, or the error is not # a TimeoutError, raise it if not (conn.retry_on_timeout and isinstance(e, TimeoutError)): @@ -4019,8 +4019,8 @@ class Pipeline(Redis): # since this connection has died. raise a WatchError, which # indicates the user should retry this transaction. if self.watching: - raise WatchError("A ConnectionError occured on while watching " - "one or more keys") + raise WatchError("A ConnectionError occurred on while " + "watching one or more keys") # if retry_on_timeout is not set, or the error is not # a TimeoutError, raise it if not (conn.retry_on_timeout and isinstance(e, TimeoutError)): |