summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-04 00:55:21 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-04 00:55:32 +0200
commit51090d60544ec7336c7e0250ff6eab43ad154605 (patch)
tree423319a14cfd5a822b758f8c2183d8673d6773ee /bin/reproducible_html_indexes.py
parentb179bf2a746856c91fb2e744daa4fbbf85986706 (diff)
downloadjenkins.debian.net-51090d60544ec7336c7e0250ff6eab43ad154605.tar.xz
reproducible: rename join_status_icon() to get_status_icon() and drop unused code
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index c8d1689b..cbd18897 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -24,7 +24,7 @@ Reference doc for the folowing lists:
the string above
+ `body`: a list of dicts containing every section that made up the page.
Every section has:
- - `icon_status`: the name of a icon (see join_status_icon())
+ - `icon_status`: the name of a icon (see get_status_icon())
- `icon_link`: a link to hide below the icon
- `query`: query to perform against the reproducible db to get the list of
packages to show
@@ -423,7 +423,7 @@ def build_leading_text_section(section, rows, suite, arch):
no_icon_link = True # to avoid closing the </a> tag below
if section.get('icon_status'):
html += '<img src="/static/'
- html += join_status_icon(section['icon_status'])[1]
+ html += get_status_icon(section['icon_status'])[1]
html += '" alt="reproducible icon" />'
if not no_icon_link:
html += '</a>'