From 1391976d917798646266601b06ae1c5b198d5d0a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 29 Jul 2016 17:49:36 -0400 Subject: reproducible debian: fixup 43c5068: reproducible debian: switch directory structure for diffoscope package pages --- bin/reproducible_html_packages.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 38e11e09..b8b33ea7 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -449,6 +449,10 @@ def purge_old_pages(): log.info('There is no package named ' + pkg + ' from ' + suite + '/' + arch + ' in the database. ' + 'Removing old page.') - os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/' + + try: + os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/' + page) + try: + os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/diffoscope/' + + pkg + '.html') -- cgit v1.2.3-70-g09d2