summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 22:23:21 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 22:23:21 +0100
commit9908706c55407d0324455ad577fff9d0c6c617a6 (patch)
treeb7c4536ce6b6b3ac32f6c5901e5d86c119d1f26b /app.py
parent3a77285e31af04041869dca66642483899234f58 (diff)
also show pass/fail
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
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])