summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-07-04 18:56:42 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-05 10:38:40 +0200
commitbc2d9468ca27630cac30f7030b623782ac949e98 (patch)
tree843bfbaa8728bf4ec7a19ee0e747721c23931b1d
parentbc4a5a6c22939f67c62fe7dbff0cac61c4cb99c8 (diff)
downloadjenkins.debian.net-bc2d9468ca27630cac30f7030b623782ac949e98.tar.xz
reproducible: html_notes: in the issue view, sort packages without bugs before the ones with
-rwxr-xr-xbin/reproducible_html_notes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 5d2d2c44..56d00b5a 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -280,7 +280,7 @@ def gen_html_issue(issue, suite):
affected += ' alt="' + status + ' icon" />\n'
affected += tab*5 + str(len(pkgs)) + ' ' + status + ' packages in ' + suite + '/' + arch +':\n'
affected += tab*5 + '<code>\n'
- for pkg in pkgs:
+ for pkg in sorted(pkgs, key=lambda x: x in bugs):
affected += tab*6 + link_package(pkg, suite, arch, bugs)
affected += tab*5 + '</code>\n'
affected += tab*4 + '</p>\n'