summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.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_packages.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_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index a693227b..a5875b75 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -199,7 +199,7 @@ def gen_suites_links(package, current_suite, current_arch):
prefix = ''
suffix = '\n'
icon = prefix + '<img src="/static/{icon}" alt="{status}" title="{status}"/>' + suffix
- html += icon.format(icon=join_status_icon(status)[1], status=status)
+ html += icon.format(icon=get_status_icon(status)[1], status=status)
html += (tab*2 + ' <a href="{}/{}/{}/{}.html" target="_parent"' + \
' title="{}: {}{}">{}</a> in <a href="/{}/{}/" target="_parent">{}</a>\n').format(RB_PKG_URI,
s, a, package.name, status, version, build_date, version, s, a, s)
@@ -238,7 +238,7 @@ def gen_packages_html(packages, no_clean=False):
links, default_view = gen_extra_links(
pkg, version, suite, arch, status)
suites_links = gen_suites_links(package, suite, arch)
- status, icon = join_status_icon(status, pkg, version)
+ status, icon = get_status_icon(status)
status = gen_status_link_icon(status, icon, suite, arch)
html = html_package_page.substitute(