mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-04 19:38:03 +03:00
Replace/remove usage of dict.keys()
This commit is contained in:
parent
4a274466ac
commit
af7e83bc76
38 changed files with 74 additions and 78 deletions
|
@ -62,7 +62,7 @@ def generate():
|
|||
Return the generated output.
|
||||
"""
|
||||
# the keys are sorted in the .mo file
|
||||
keys = sorted(MESSAGES.keys())
|
||||
keys = sorted(MESSAGES)
|
||||
offsets = []
|
||||
ids = strs = ''
|
||||
for _id in keys:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue