Fix token.py main code vs. dict views.

This commit is contained in:
Georg Brandl 2007-02-26 09:41:19 +00:00
parent 634e53fad4
commit b79b78111c

View File

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