# HG changeset patch # User RhodeCode Admin # Date 2023-03-06 22:47:47 # Node ID 18a133eb6eb8bfec0c23d8dcd0f7e814f04f0413 # Parent 457fc37413ee24f5a0922c8d4893cd993142cf47 python3: fix utils2 diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py --- a/rhodecode/lib/utils2.py +++ b/rhodecode/lib/utils2.py @@ -81,7 +81,7 @@ def __get_lem(extra_mapping=None): return [s.lower()] for lx, t in sorted(pygments.lexers.LEXERS.items()): - m = map(__clean, t[-2]) + m = list(map(__clean, t[-2])) if m: m = reduce(lambda x, y: x + y, m) for ext in m: