From 3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa Mon Sep 17 00:00:00 2001 From: David Gilman Date: Wed, 14 Dec 2022 04:18:41 -0500 Subject: Combine auto-concatenated strings (#2482) --- redis/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'redis/client.py') diff --git a/redis/client.py b/redis/client.py index ed857c8..1a9b96b 100755 --- a/redis/client.py +++ b/redis/client.py @@ -1881,7 +1881,7 @@ class Pipeline(Redis): raise RedisError("Cannot issue nested calls to MULTI") if self.command_stack: raise RedisError( - "Commands without an initial WATCH have already " "been issued" + "Commands without an initial WATCH have already been issued" ) self.explicit_transaction = True @@ -1904,7 +1904,7 @@ class Pipeline(Redis): if self.watching: self.reset() raise WatchError( - "A ConnectionError occurred on while " "watching one or more keys" + "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 @@ -1997,7 +1997,7 @@ class Pipeline(Redis): if len(response) != len(commands): self.connection.disconnect() raise ResponseError( - "Wrong number of response items from " "pipeline execution" + "Wrong number of response items from pipeline execution" ) # find any errors in the response and raise if necessary @@ -2078,7 +2078,7 @@ class Pipeline(Redis): # indicates the user should retry this transaction. if self.watching: raise WatchError( - "A ConnectionError occurred on while " "watching one or more keys" + "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 -- cgit v1.2.1