Commit a2489438 authored by Stefan Behnel's avatar Stefan Behnel

Py2 fix

parent 2985e5d0
......@@ -88,6 +88,8 @@ class UtilityCodeBase(object):
utility[1] = code
else:
all_tags = utility[2]
if KEYWORDS_MUST_BE_BYTES:
type = type.encode('ASCII')
all_tags[type] = code
if tags:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment