chiark / gitweb /
Revert "Don't auto update apps with the latest build disabled"
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 28 Apr 2014 22:00:40 +0000 (00:00 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 28 Apr 2014 22:00:40 +0000 (00:00 +0200)
This reverts commit 32ae8bc565fefe985c2ea1cdd831c2c5efc0932d.

fdroidserver/checkupdates.py

index 9eaf61f115a05e79ab2153594489d0d40e51501d..c56dc7ffefaa686060dbb638961a4b796c7ff987 100644 (file)
@@ -479,9 +479,7 @@ def main():
                     if not latest or int(build['vercode']) > int(latest['vercode']):
                         latest = build
 
-                if 'disable' in latest:
-                    logging.warn('Not auto-updating %s since the latest build is disabled' % app['id'])
-                elif not gotcur:
+                if not gotcur:
                     newbuild = latest.copy()
                     if 'origlines' in newbuild:
                         del newbuild['origlines']