--latest now goes to the last enabled build

This commit is contained in:
Daniel Martí committed 2014-01-20 09:58:17 +01:00
1 parent 228ed8eac9
commit bebadde877
1 file changed
+5 -1
+5 -1
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