# HG changeset patch # User RhodeCode Admin # Date 2022-10-14 13:53:27 # Node ID 1a40cc02c814f4d688a52ccd85e00d73bc938cf3 # Parent f0b7e732f18cbd754915363114c2fe969f0a813a statsd: fix unicode tags generation as we use str now diff --git a/rhodecode/lib/_vendor/statsd/base.py b/rhodecode/lib/_vendor/statsd/base.py --- a/rhodecode/lib/_vendor/statsd/base.py +++ b/rhodecode/lib/_vendor/statsd/base.py @@ -8,7 +8,10 @@ from repoze.lru import lru_cache from .timer import Timer -TAG_INVALID_CHARS_RE = re.compile(r"[^\w\d_\-:/\.]", re.UNICODE) +TAG_INVALID_CHARS_RE = re.compile( + r"[^\w\d_\-:/\.]", + #re.UNICODE +) TAG_INVALID_CHARS_SUBS = "_"