summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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 eed35894..944ea857 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -188,13 +188,15 @@ def gen_all_rb_pkg_pages(suite='sid', arch='amd64', no_clean=False):
def purge_old_pages():
for suite in SUITES:
for arch in ARCHES:
- log.info('Removing old pages from ' + suite + '...')
+ log.info('Removing old pages from ' + suite + '/' + arch + '...')
try:
presents = sorted(os.listdir(RB_PKG_PATH + '/' + suite + '/' +
arch))
except OSError as e:
if e.errno != errno.ENOENT: # that's 'No such file or
raise # directory' error (errno 17)
+ presents = []
+ log.debug('page presents: ' + str(presents))
for page in presents:
pkg = page.rsplit('.', 1)[0]
query = 'SELECT s.name ' + \