summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-07-08 11:44:58 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-08 13:50:19 +0200
commita03d782764a665c8b1cde954e59ff1d7f8eea7de (patch)
treebb36b600d6640eefae37f6e2eb593e0668bcb11d /bin/reproducible_html_packages.py
parent3c954457dc85ed3e8d98620a56eb514119aaea10 (diff)
downloadjenkins.debian.net-a03d782764a665c8b1cde954e59ff1d7f8eea7de.tar.xz
reproducible: html_{notes,packages}: avoid collecting garbage 3 times in a row. One is enough
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index a8a920a4..90faa463 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -235,7 +235,9 @@ def gen_packages_html(packages, suite=None, arch=None, no_clean=False, nocheck=F
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)
+ gen_packages_html(packages, lsuite, larch, True, True)
+ if not no_clean:
+ purge_old_pages()
return
for pkg in sorted(packages):
pkg = str(pkg)