summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-01-20 00:33:56 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-15 17:37:46 +0100
commit34db77462dc90fb5fe37097435d42b18341a59e6 (patch)
tree53184b26a18538fc49ab1c2357c86100fc6f98d8 /bin/reproducible_html_notes.py
parent1c62756f56f921f60485ccfee357ecc4b222fa8b (diff)
downloadjenkins.debian.net-34db77462dc90fb5fe37097435d42b18341a59e6.tar.xz
reproducible: move get_trailing_icon() from _html_notes to common
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py12
1 files changed, 0 insertions, 12 deletions
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 += '<span class="'
- if bugs[package][bug]['done']:
- html += 'bug-done" title="#' + str(bug) + ', done">#</span>'
- elif bugs[package][bug]['patch']:
- html += 'bug-patch" title="#' + str(bug) + ', with patch">+</span>'
- else:
- html += '" title="#' + str(bug) + '">+</span>'
- return html
def index_notes(notes, bugs):
log.debug('Building the index_notes page...')