Don't need legacy disabled build handling everywhere now

This commit is contained in:
Ciaran Gultnieks 2013-10-27 14:40:02 +00:00
parent 075551b715
commit ccdea798fc
4 changed files with 5 additions and 5 deletions

View file

@ -232,7 +232,7 @@ def delete_disabled_builds(apps, apkcache, repodirs):
"""
for app in apps:
for build in app['builds']:
if build['commit'].startswith('!') or 'disable' in build:
if 'disable' in build:
apkfilename = app['id'] + '_' + str(build['vercode']) + '.apk'
for repodir in repodirs:
apkpath = os.path.join(repodir, apkfilename)