summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 14:26:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 14:26:57 +0200
commita1c47666e36740e8b8e8a564a370ec9cfddc2367 (patch)
tree60a9c6567442db4a9a16f27d507db2b4f787c981 /bin
parent7a4f142d15857b62b052e65d665df36fa6fd7b62 (diff)
downloadjenkins.debian.net-a1c47666e36740e8b8e8a564a370ec9cfddc2367.tar.xz
reproducible: fix logic, /me ♥ logic
Diffstat (limited to 'bin')
-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 a36d399e..36629b36 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 and status != 'blacklisted':
+ if build_date or 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 and status != 'blacklisted':
+ if build_date or status != 'blacklisted':
build_date = 'at ' + build_date
else:
build_date = ''