1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Correction to previous commit

This commit is contained in:
Ciaran Gultnieks 2011-01-23 22:03:46 +00:00
parent 8c9f28c7c4
commit 25972a3788

View File

@ -244,6 +244,7 @@ for app in apps:
if app['disabled'] is None:
# Get a list of the apks for this app...
gotmarketver = False
apklist = []
for apk in apks:
if apk['id'] == app['id']:
@ -275,8 +276,6 @@ for app in apps:
if not (app['antifeatures'] is None):
addElement('antifeatures', app['antifeatures'], doc, apel)
gotmarketver = False
# Sort the apk list into version order, just so the web site
# doesn't have to do any work by default...
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)