From 9908706c55407d0324455ad577fff9d0c6c617a6 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 22 Jan 2023 22:23:21 +0100 Subject: also show pass/fail Signed-off-by: Olivier Gayot --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.py') diff --git a/app.py b/app.py index 1c3a373..e221686 100644 --- a/app.py +++ b/app.py @@ -125,7 +125,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH): "date": date, "duration": duration, "requester": requester, - "result": exitcode, + "result": "pass" if exitcode == 0 else "fail", "url_prefix": f"{autopkgtest_url_base}/{idx}", } package_results.append([result[h] for h in headers]) -- cgit v1.2.3