summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_notes.py7
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: