chiark / gitweb /
Also remove 'disable' from auto-update builds
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 29 Apr 2014 14:06:24 +0000 (16:06 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 29 Apr 2014 14:06:24 +0000 (16:06 +0200)
fdroidserver/checkupdates.py

index c56dc7ffefaa686060dbb638961a4b796c7ff987..d20ebefc63b5df14e9620f033080c6ac48d5fa6a 100644 (file)
@@ -481,8 +481,9 @@ def main():
 
                 if not gotcur:
                     newbuild = latest.copy()
-                    if 'origlines' in newbuild:
-                        del newbuild['origlines']
+                    for k in ('origlines', 'disable'):
+                        if k in newbuild:
+                            del newbuild[k]
                     newbuild['vercode'] = app['Current Version Code']
                     newbuild['version'] = app['Current Version'] + suffix
                     logging.info("...auto-generating build for " + newbuild['version'])