From 6d639876f736e7937d4ee60ad9466be9af3d3fa5 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 18 Jun 2016 13:58:03 +0000 Subject: reproducible debian: notes: show the bug title near the bug number Signed-off-by: Holger Levsen --- bin/reproducible_html_notes.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_html_notes.py') 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 += '' + str(bug) + '' + \ - get_trailing_bug_icon(bug, bugs, package) + '
' + get_trailing_bug_icon(bug, bugs, package) + \ + bug_title + '
' infos += note_bugs_html.substitute(bugs=bugurls) # check for comments: if 'comments' in note: -- cgit v1.2.3-54-g00ecf