Skip to content

Commit 3ec7472

Browse files
committed
fix lint
1 parent bb738ae commit 3ec7472

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redis/connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,9 @@ def pack_command(self, *args):
879879
args = tuple(args[0].split()) + args[1:]
880880

881881
# `COMMAND GETKEYS` can crash redis server entirely under certain conditions.
882-
# So we have decided to make sure that `COMMAND GETKEYS` is never sent to the server.
883-
# If you need to send `COMMAND GETKEYS` to the server, please reach out to Doogie
884-
# and Zach to discuss the use case.
882+
# So we have decided to make sure that `COMMAND GETKEYS` is never sent to the
883+
# server. If you need to send `COMMAND GETKEYS` to the server, please reach out
884+
# to Doogie and Zach to discuss the use case.
885885
# ref: https://github.com/redis/redis/pull/12380
886886
if len(args) > 1 and args[0].lower() == b'command' and args[1].lower().startswith(b'getkeys'):
887887
raise Exception(f'Redis command "{args[0].decode()} {args[1].decode()}" is not supported')

0 commit comments

Comments
 (0)