[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Revert "reproducible: fix logic, /me ♥ logic"

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 12:46:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 6aee9c8aed68d5565b3ff723bdbb7ef5e2cce4e4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 14:38:24 2015 +0200

    Revert "reproducible: fix logic, /me ♥ logic"
    
    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 36629b3..a36d399 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 = ''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list