diff options
author | David Gilman <dgilman@aidentified.com> | 2022-12-14 04:18:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 11:18:41 +0200 |
commit | 3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa (patch) | |
tree | d5074882a70d502c91122f252788f27f1670901e /redis/cluster.py | |
parent | 6487f9555ba2d08083a081df9b65b642427361fa (diff) | |
download | redis-py-3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa.tar.gz |
Combine auto-concatenated strings (#2482)
Diffstat (limited to 'redis/cluster.py')
-rw-r--r-- | redis/cluster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/cluster.py b/redis/cluster.py index cd559b6..f115007 100644 --- a/redis/cluster.py +++ b/redis/cluster.py @@ -1648,7 +1648,7 @@ class ClusterPubSub(PubSub): pubsub_node = node elif any([host, port]) is True: # only 'host' or 'port' passed - raise DataError("Passing a host requires passing a port, " "and vice versa") + raise DataError("Passing a host requires passing a port, and vice versa") else: # nothing passed by the user. set node to None pubsub_node = None @@ -2126,7 +2126,7 @@ class ClusterPipeline(RedisCluster): """ if len(names) != 1: raise RedisClusterException( - "deleting multiple keys is not " "implemented in pipeline command" + "deleting multiple keys is not implemented in pipeline command" ) return self.execute_command("DEL", names[0]) |