summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:28:34 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:28:34 +0100
commit0552741179f8a985d5fe559a7efec64be2ef6f97 (patch)
tree275c7b6f287504155a126f0178ce89b42b1c465d /app.py
parent5257c82e926805765dcee706bbb87b9a155e3c59 (diff)
Show results in reverse order (most recent first)
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 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)