1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-15 09:40:12 +02:00

Replace iterkeys() with keys()

This commit is contained in:
Daniel Martí 2016-01-04 18:51:58 +01:00
parent 8b3c27cb47
commit 63f8718cf5

View File

@ -1301,7 +1301,7 @@ def main():
# Sort the app list by name, then the web site doesn't have to by default.
# (we had to wait until we'd scanned the apks to do this, because mostly the
# name comes from there!)
sortedids = sorted(apps.iterkeys(), key=lambda appid: apps[appid].Name.upper())
sortedids = sorted(apps.keys(), key=lambda appid: apps[appid].Name.upper())
# APKs are placed into multiple repos based on the app package, providing
# per-app subscription feeds for nightly builds and things like it