1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02: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