diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-04 07:59:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-04 07:59:09 +0000 |
commit | 51cc817f8e2bab01ee028fbc1a0029a3f314d576 (patch) | |
tree | 8a78c6318a6d1b513e41deb0e3b020e59dd55d6c /iredis/utils.py | |
parent | Releasing debian version 1.11.1-2. (diff) | |
download | iredis-51cc817f8e2bab01ee028fbc1a0029a3f314d576.tar.xz iredis-51cc817f8e2bab01ee028fbc1a0029a3f314d576.zip |
Merging upstream version 1.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/utils.py')
-rw-r--r-- | iredis/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iredis/utils.py b/iredis/utils.py index 7cfae5a..593241b 100644 --- a/iredis/utils.py +++ b/iredis/utils.py @@ -14,7 +14,7 @@ logger = logging.getLogger(__name__) _last_timer = time.time() _timer_counter = 0 -sperator = re.compile(r"\s") +separator = re.compile(r"\s") logger.debug(f"[timer] start on {_last_timer}") @@ -73,8 +73,8 @@ def strip_quote_args(s): word.append(char) # not in quote else: - # sperator - if sperator.match(char): + # separator + if separator.match(char): if word: yield "".join(word) word = [] |