chiark / gitweb /
Replace iterkeys() with keys()
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 4 Jan 2016 17:51:58 +0000 (18:51 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 10 Mar 2016 16:43:37 +0000 (16:43 +0000)
fdroidserver/update.py

index f1fb8083b1e8625771f396fc91ae1ff7352ccfce..0c63c462b932ea46c05a9d19bb69da2b6bf4697d 100644 (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