summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 14:14:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 14:14:16 +0200
commitc66dbc0b1d2e36ad740f77c586b2c21624456585 (patch)
tree6b1f349f9565fd34563fa1206d97c2b11eefa05e
parent808a8eb28c202adf55b7b9c1faa15dd5b8b1613b (diff)
downloadjenkins.debian.net-c66dbc0b1d2e36ad740f77c586b2c21624456585.tar.xz
reproducible: don't show build date for blacklisted packages
-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 60bf0a31..921df56f 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -181,7 +181,7 @@ def gen_suites_links(package, current_suite, current_arch):
continue
version = package.get_tested_version(s, a)
build_date = package.get_build_date(s, a)
- if build_date:
+ if build_date and status != 'blacklisted':
build_date = ' on ' + build_date
else:
build_date = ''
@@ -221,7 +221,7 @@ def gen_packages_html(packages, no_clean=False):
status = package.get_status(suite, arch)
version = package.get_tested_version(suite, arch)
build_date = package.get_build_date(suite, arch)
- if build_date:
+ if build_date and status != 'blacklisted':
build_date = 'at ' + build_date
else:
build_date = '<span style="color:red;font-weight:bold;">UNTESTED</span>'