From a1c47666e36740e8b8e8a564a370ec9cfddc2367 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 30 Aug 2015 14:26:57 +0200 Subject: reproducible: fix logic, /me ♥ logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/reproducible_html_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 = '' -- cgit v1.2.3-70-g09d2