diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-05-31 15:47:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 15:47:24 +0300 |
commit | 04bc576679e9fedb24a0548521d80fe81c91e2ec (patch) | |
tree | 6f1aec5c276393ac1917e372ac39858e9a48b3d5 /redis/commands/parser.py | |
parent | 4a73d85c78ce0ca36e5100b7ee0047b773cec23f (diff) | |
download | redis-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.py | 2 |
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 ( |