diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-07-29 17:49:36 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-07-29 17:49:36 -0400 |
commit | 1391976d917798646266601b06ae1c5b198d5d0a (patch) | |
tree | 32528329cd9aab3c12e428bdbd0f1891c89e1687 /bin | |
parent | dbd43b40bed914cfe17baefea42eb21ee5190685 (diff) | |
download | jenkins.debian.net-1391976d917798646266601b06ae1c5b198d5d0a.tar.xz |
reproducible debian: fixup 43c5068: reproducible debian: switch directory structure for diffoscope package pages
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_packages.py | 6 |
1 files changed, 5 insertions, 1 deletions
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') |