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/asyncio/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'redis/asyncio/client.py') diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index abe7d67..5a2c496 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -1132,7 +1132,7 @@ class Pipeline(Redis): # lgtm [py/init-calls-subclass] 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 @@ -1157,7 +1157,7 @@ class Pipeline(Redis): # lgtm [py/init-calls-subclass] if self.watching: await 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 @@ -1345,7 +1345,7 @@ class Pipeline(Redis): # lgtm [py/init-calls-subclass] # 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