mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Generate the index in alpha-sorted (by app name) order
This commit is contained in:
parent
9dcce12a32
commit
a37e067420
@ -173,6 +173,9 @@ for apk in apks:
|
||||
print "WARNING: " + apk['apkname'] + " (" + apk['id'] + ") has no metadata"
|
||||
print " " + apk['name'] + " - " + apk['version']
|
||||
|
||||
#Sort the app list by name, then the web site doesn't have to by default:
|
||||
apps = sorted(apps, key=lambda app: app['name'])
|
||||
|
||||
# Create the index
|
||||
doc = Document()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user