# HG changeset patch # User RhodeCode Admin # Date 2022-10-14 13:53:46 # Node ID f8538526ae5ba010b07bd19d216546ff3275285f # Parent ff9ef25ed2adcea6f0facee13de5dbc796f9d037 statsd: fix unicode tags generation as we use str now diff --git a/vcsserver/lib/_vendor/statsd/base.py b/vcsserver/lib/_vendor/statsd/base.py --- a/vcsserver/lib/_vendor/statsd/base.py +++ b/vcsserver/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 = "_"