Revert "[Py2to3] Clean-up the use of keys() on dictionary objects."

This reverts commit 8b50f3cdbd.
This commit is contained in:
Calum Lind 2016-10-26 19:14:10 +01:00
commit 3f72905b3f
47 changed files with 97 additions and 95 deletions

View file

@ -61,8 +61,9 @@ def generate():
"""
Return the generated output.
"""
keys = MESSAGES.keys()
# the keys are sorted in the .mo file
keys = sorted(MESSAGES)
keys.sort()
offsets = []
ids = strs = ''
for _id in keys: