From f4e96cfd7afe16f2ca9fe5e041619eef2399cdd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 5 Sep 2015 10:09:25 -0400 Subject: [PATCH] Specify that disabled builds aren't failing builds --- fdroidserver/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 7f322922..d332222b 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -148,7 +148,7 @@ def update_wiki(apps, sortedids, apks): # TODO: Nasty: vercode is a string in the build, and an int elsewhere apklist.append({'versioncode': int(thisbuild['vercode']), 'version': thisbuild['version'], - 'buildproblem': thisbuild['disable'] + 'buildproblem': "The build for this version was manually disabled. Reason: {0}".format(thisbuild['disable']), }) else: builtit = False @@ -160,7 +160,7 @@ def update_wiki(apps, sortedids, apks): buildfails = True apklist.append({'versioncode': int(thisbuild['vercode']), 'version': thisbuild['version'], - 'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode']) + 'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode']), }) if app['Current Version Code'] == '0': cantupdate = True