From 0552741179f8a985d5fe559a7efec64be2ef6f97 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 9 Jan 2024 12:28:34 +0100 Subject: Show results in reverse order (most recent first) 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 d797758..a07760c 100644 --- a/app.py +++ b/app.py @@ -131,7 +131,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH): headers = ("version", "triggers", "date", "duration", "requester", "result", "url_prefix", "show_retry") package_results = [] - for idx, info in runs.items(): + for idx, info in reversed(runs.items()): date = " ".join(idx.split("/")[-1].split("_")[0:2]) tar_stream = io.BytesIO(urlopen(f"{autopkgtest_url_base}/{info['name']}").read()) file = tarfile.open(fileobj=tar_stream) -- cgit v1.2.3