python3: fix utils2

This commit is contained in:
RhodeCode Admin 2023-03-06 23:47:47 +01:00
parent 44cde4b5c1
commit 514144eceb

View file

@ -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: