[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: fixup 43c5068: reproducible debian: switch directory structure for diffoscope package pages

Holger Levsen holger at layer-acht.org
Fri Jul 29 21:49:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 1391976d917798646266601b06ae1c5b198d5d0a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jul 29 17:49:36 2016 -0400

    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(-)

diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 38e11e0..b8b33ea 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')
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list