1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

Revert "Don't auto update apps with the latest build disabled"

This reverts commit 32ae8bc565.
This commit is contained in:
Daniel Martí 2014-04-29 00:00:40 +02:00
parent b2ef2b1b65
commit bb4211b0be

View 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']