From 6aee9c8aed68d5565b3ff723bdbb7ef5e2cce4e4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 30 Aug 2015 14:38:24 +0200 Subject: Revert "reproducible: fix logic, /me ♥ logic" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a1c47666e36740e8b8e8a564a370ec9cfddc2367. --- bin/reproducible_html_packages.py | 4 ++-- 1 file 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 = '' -- cgit v1.2.3-70-g09d2