summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_packages.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index b8b33ea7..38e11e09 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -449,10 +449,6 @@ def purge_old_pages():
log.info('There is no package named ' + pkg + ' from ' +
suite + '/' + arch + ' in the database. ' +
'Removing old page.')
- try:
- os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/' +
+ os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/' +
page)
- try:
- os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/diffoscope/' +
- pkg + '.html')