From 34db77462dc90fb5fe37097435d42b18341a59e6 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 20 Jan 2015 00:33:56 +0100 Subject: reproducible: move get_trailing_icon() from _html_notes to common --- bin/reproducible_html_notes.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'bin/reproducible_html_notes.py') diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index fe998748..6a130353 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -340,18 +340,6 @@ def index_issues(issues): write_html_page(title=title, body=html, destfile=destfile) log.info('Issues index now available at ' + desturl) -def get_trailing_icon(package, bugs): - html = '' - if package in bugs: - for bug in bugs[package]: - html += '#' - elif bugs[package][bug]['patch']: - html += 'bug-patch" title="#' + str(bug) + ', with patch">+' - else: - html += '" title="#' + str(bug) + '">+' - return html def index_notes(notes, bugs): log.debug('Building the index_notes page...') -- cgit v1.2.3-54-g00ecf