1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Can't update an app if there is no CV

This commit is contained in:
Daniel Martí 2014-02-17 16:51:22 +01:00
parent 9064942d06
commit d192b40687

View File

@ -141,6 +141,8 @@ def update_wiki(apps, apks):
'version': thisbuild['version'],
'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild|build log]].".format(app['id'])
})
if app['Current Version Code'] == '0':
cantupdate = True
# Sort with most recent first...
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)