diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-06-18 13:58:03 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-18 15:59:11 +0200 |
commit | 6d639876f736e7937d4ee60ad9466be9af3d3fa5 (patch) | |
tree | 6cec3ff874089ce57bf2bdc0ca6149c5adbcd260 | |
parent | d92abdae989ae53cbd1dba89aeb83596e260dac1 (diff) | |
download | jenkins.debian.net-6d639876f736e7937d4ee60ad9466be9af3d3fa5.tar.xz |
reproducible debian: notes: show the bug title near the bug number
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_html_notes.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index 94a68143..be0eb196 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -234,9 +234,14 @@ def gen_html_note(package, note): if 'bugs' in note: bugurls = '' for bug in note['bugs']: + try: + bug_title = ': "%s"' % bugs[package][bug]['title'] + except KeyError: + bug_title = '' bugurls += '<a href="https://bugs.debian.org/' + str(bug) + \ '" target="_parent">' + str(bug) + '</a>' + \ - get_trailing_bug_icon(bug, bugs, package) + '<br />' + get_trailing_bug_icon(bug, bugs, package) + \ + bug_title + '<br />' infos += note_bugs_html.substitute(bugs=bugurls) # check for comments: if 'comments' in note: |