summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-04 17:14:59 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-04 17:16:04 +0100
commita39dcfae5b0642a53c522a4696979762c8f0f8e6 (patch)
tree5b6ea2c086afb59791785346cda89168eb4eb93e /bin/reproducible_html_packages.py
parent92e5d1fd7a6aa00fab00da0126f7fa89066d5b70 (diff)
downloadjenkins.debian.net-a39dcfae5b0642a53c522a4696979762c8f0f8e6.tar.xz
reproducible: fix up some and/or boolean snafu from db2c181
Diffstat (limited to 'bin/reproducible_html_packages.py')
-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 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)