diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-09 13:36:45 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-09 13:36:45 +0200 |
commit | 022dd93729baf38576f00152e26f900b2c8f3544 (patch) | |
tree | 53555eed552d8ce21a8a237486aa41efd97fe149 | |
parent | c1af0f13ae7188630d6adde102de8c0b66d14894 (diff) | |
download | wumpus-hunter-022dd93729baf38576f00152e26f900b2c8f3544.tar.gz |
fix: show newest commit first in the result table
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rwxr-xr-x | wumpus-hunter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wumpus-hunter b/wumpus-hunter index fabe7c4..395381b 100755 --- a/wumpus-hunter +++ b/wumpus-hunter @@ -253,7 +253,7 @@ def count(src, counts, stats): f.write( "<tr><th>Date</th><th>commit</th><th class=numeric>successes</th><th class=numeric>failures</th></tr>\n" ) - for date, commit in sorted(commits): + for date, commit in reversed(sorted(commits)): (succ, fail) = d[commit] link = f'<a href="log-{commit}/"><code>{commit}</code></a>' f.write( |