summaryrefslogtreecommitdiff
path: root/redis/commands/parser.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-05-31 15:47:24 +0300
committerGitHub <noreply@github.com>2022-05-31 15:47:24 +0300
commit04bc576679e9fedb24a0548521d80fe81c91e2ec (patch)
tree6f1aec5c276393ac1917e372ac39858e9a48b3d5 /redis/commands/parser.py
parent4a73d85c78ce0ca36e5100b7ee0047b773cec23f (diff)
downloadredis-py-04bc576679e9fedb24a0548521d80fe81c91e2ec.tar.gz
Fix tests for Redis 7 (#2182)
* fix tests * async
Diffstat (limited to 'redis/commands/parser.py')
-rw-r--r--redis/commands/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/parser.py b/redis/commands/parser.py
index 7560603..115230a 100644
--- a/redis/commands/parser.py
+++ b/redis/commands/parser.py
@@ -79,7 +79,7 @@ class CommandsParser:
command = self.commands.get(cmd_name)
if "movablekeys" in command["flags"]:
keys = self._get_moveable_keys(redis_conn, *args)
- elif "pubsub" in command["flags"]:
+ elif "pubsub" in command["flags"] or command["name"] == "pubsub":
keys = self._get_pubsub_keys(*args)
else:
if (