diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-03-11 05:59:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-03-11 05:59:22 +0000 |
commit | 770359ab1b5d6d8421ee93ca9fdc7d044e0a1c78 (patch) | |
tree | cef8737b15ced6cfadaa45b0d758a3c0cf764da1 /iredis/commands.py | |
parent | Releasing progress-linux version 1.11.0-1. (diff) | |
download | iredis-770359ab1b5d6d8421ee93ca9fdc7d044e0a1c78.tar.xz iredis-770359ab1b5d6d8421ee93ca9fdc7d044e0a1c78.zip |
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/commands.py')
-rw-r--r-- | iredis/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |