summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-29 17:52:48 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-29 17:52:48 -0400
commitc31a41e721799b8df060bd71ed2e052472aa8a50 (patch)
tree4667e6b0416a77ddddf9e1f67949f1be176b62af
parent1391976d917798646266601b06ae1c5b198d5d0a (diff)
downloadjenkins.debian.net-c31a41e721799b8df060bd71ed2e052472aa8a50.tar.xz
Revert "reproducible debian: fixup 43c5068: reproducible debian: switch directory structure for diffoscope package pages"
This reverts commit 1391976d917798646266601b06ae1c5b198d5d0a.
-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')