summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 14:38:24 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 14:38:24 +0200
commit6aee9c8aed68d5565b3ff723bdbb7ef5e2cce4e4 (patch)
tree8a1d529c40e8d1eaea9861f1848dd055414c8736
parenta1c47666e36740e8b8e8a564a370ec9cfddc2367 (diff)
downloadjenkins.debian.net-6aee9c8aed68d5565b3ff723bdbb7ef5e2cce4e4.tar.xz
Revert "reproducible: fix logic, /me ♥ logic"
This reverts commit a1c47666e36740e8b8e8a564a370ec9cfddc2367.
-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 36629b36..a36d399e 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 or status != 'blacklisted':
+ 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 or status != 'blacklisted':
+ if build_date and status != 'blacklisted':
build_date = 'at ' + build_date
else:
build_date = ''