diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2024-01-09 12:28:34 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2024-01-09 12:28:34 +0100 |
commit | 0552741179f8a985d5fe559a7efec64be2ef6f97 (patch) | |
tree | 275c7b6f287504155a126f0178ce89b42b1c465d | |
parent | 5257c82e926805765dcee706bbb87b9a155e3c59 (diff) |
Show results in reverse order (most recent first)
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |