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

--latest now goes to the last enabled build

This commit is contained in:
Daniel Martí 2014-01-20 09:58:17 +01:00
parent 228ed8eac9
commit bebadde877

View File

@ -886,7 +886,11 @@ def main():
if options.latest:
for app in apps:
app['builds'] = app['builds'][-1:]
for build in reversed(app['builds']):
if 'disable' in build:
continue
app['builds'] = [ build ]
break
if options.wiki:
import mwclient