summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorDavid Gilman <dgilman@aidentified.com>2022-12-14 04:18:41 -0500
committerGitHub <noreply@github.com>2022-12-14 11:18:41 +0200
commit3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa (patch)
treed5074882a70d502c91122f252788f27f1670901e /redis/client.py
parent6487f9555ba2d08083a081df9b65b642427361fa (diff)
downloadredis-py-3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa.tar.gz
Combine auto-concatenated strings (#2482)
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py8
1 files changed, 4 insertions, 4 deletions
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