From 770359ab1b5d6d8421ee93ca9fdc7d044e0a1c78 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Mar 2022 06:59:22 +0100 Subject: Merging upstream version 1.11.1. Signed-off-by: Daniel Baumann --- iredis/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iredis/commands.py') diff --git a/iredis/commands.py b/iredis/commands.py index 9f10d53..fcbe2a4 100644 --- a/iredis/commands.py +++ b/iredis/commands.py @@ -127,7 +127,7 @@ def split_command_args(command): raise AmbiguousCommand("command is not finished") # allow multiple space in user input command command_allow_multi_spaces = "[ ]+".join(command_name.split()) - matcher = re.match(fr"({command_allow_multi_spaces})( |$)", command.upper()) + matcher = re.match(rf"({command_allow_multi_spaces})( |$)", command.upper()) if matcher: matched_command_len = len(matcher.group(1)) input_command = command[:matched_command_len] -- cgit v1.2.3