Commit b79b7811 authored by Georg Brandl's avatar Georg Brandl

Fix token.py main code vs. dict views.

parent 634e53fa
......@@ -108,7 +108,7 @@ def main():
name, val = match.group(1, 2)
val = int(val)
tokens[val] = name # reverse so we can sort them...
keys = tokens.keys()
keys = list(tokens.keys())
keys.sort()
# load the output skeleton from the target:
try:
......
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