From a39dcfae5b0642a53c522a4696979762c8f0f8e6 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 4 Mar 2015 17:14:59 +0100 Subject: reproducible: fix up some and/or boolean snafu from db2c181 --- bin/reproducible_html_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_html_packages.py') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 8fa71420..f4e1dba1 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -152,9 +152,9 @@ def gen_packages_html(packages, suite=None, arch=None, no_clean=False, nocheck=F log.debug(str(len(bugs)) + ' bugs found: ' + str(bugs)) total = len(packages) log.info('Generating the pages of ' + str(total) + ' package(s)') - if not nocheck and not suite and not arch: + if not nocheck and (not suite or not arch): nocheck = True - if nocheck and not suite and not arch: + if nocheck and (not suite or not arch): for lsuite in SUITES: for larch in ARCHES: gen_packages_html(packages, lsuite, larch, no_clean, True) -- cgit v1.2.3-54-g00ecf