summaryrefslogtreecommitdiffstats
path: root/iredis/commands.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-20 09:32:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-20 09:32:29 +0000
commit014c400849f01582f958e1a729ce239ffd7b2268 (patch)
treee30eac025e81b68a50ad7d167270bda28ee3ce21 /iredis/commands.py
parentReleasing debian version 1.14.0-1. (diff)
downloadiredis-014c400849f01582f958e1a729ce239ffd7b2268.tar.xz
iredis-014c400849f01582f958e1a729ce239ffd7b2268.zip
Merging upstream version 1.14.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/commands.py')
-rw-r--r--iredis/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iredis/commands.py b/iredis/commands.py
index cf21a54..3580cdb 100644
--- a/iredis/commands.py
+++ b/iredis/commands.py
@@ -120,7 +120,7 @@ def split_command_args(command):
# `command` with `args` is ('in') which is an invalid case.
normalized_input_command = " ".join(command.split()).upper()
if (
- re.search("\s", command)
+ re.search(r"\s", command)
and command_name.startswith(normalized_input_command)
and command_name != normalized_input_command
):