summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-22 11:19:08 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-05 17:24:55 +0200
commit8c46f64b57464ba35d0c86d4a9f69c7e912396ab (patch)
tree657504bb3ea69d381816e4f47ca18b5590731e7b /bin/reproducible_html_packages.py
parent658ffb103ece627fc8e924ba3cefe81aa55d24cc (diff)
downloadjenkins.debian.net-8c46f64b57464ba35d0c86d4a9f69c7e912396ab.tar.xz
reproducible debian: move python 'gen_status_link_icon' function to common
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 8c1d871c..3a234ccf 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -22,8 +22,6 @@ suitearch_section_template = renderer.load_template(
TEMPLATE_PATH + '/package_suitearch_section')
suitearch_details_template = renderer.load_template(
TEMPLATE_PATH + '/package_suitearch_details')
-status_icon_link_template = renderer.load_template(
- TEMPLATE_PATH + '/status_icon_link')
def sizeof_fmt(num):
for unit in ['B','KB','MB','GB']:
@@ -36,17 +34,6 @@ def sizeof_fmt(num):
return str(int(round(float("%f" % num), 0))) + "%s" % ('Yi')
-def gen_status_link_icon(status, spokenstatus, icon, suite, arch):
- context = {
- 'status': status,
- 'spokenstatus': spokenstatus,
- 'icon': icon,
- 'suite': suite,
- 'arch': arch,
- 'untested': True if status == 'untested' else False,
- }
- return renderer.render(status_icon_link_template, context)
-
def get_buildlog_links_context(package, eversion, suite, arch):
log = suite + '/' + arch + '/' + package + '_' + eversion + '.build2.log.gz'
diff = suite + '/' + arch + '/' + package + '_' + eversion + '.diff.gz'