[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Debian: really ignore files which have been deleted
Holger Levsen
holger at layer-acht.org
Mon Jan 23 16:57:45 UTC 2017
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 beaa80c64f066ad9118d44b25a6ac4f19f15fd08
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Jan 23 17:16:11 2017 +0100
reproducible Debian: really ignore files which have been deleted
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_breakages.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 1ae6a0a..6eb459d 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -173,11 +173,11 @@ def alien_log(directory=None):
if strip_epoch(rversion) != version:
try:
if os.path.getmtime('/'.join([root, file]))<time.time()-86400:
- bad_files.append('/'.join([root, file]))
os.remove('/'.join([root, file]))
log.warning('/'.join([root, file]) + ' should not be there and and was older than a day so it was removed.')
else:
- log.info('ignoring ' + '/'.join([root, file]) + ' which should not be there, but is also less than 24h old and will probably soon be gone.')
+ bad_files.append('/'.join([root, file]))
+ log.info('/'.join([root, file]) + ' should not be there, but is also less than 24h old and will probably soon be gone.')
except FileNotFoundError:
pass # that bad file is already gone.
return bad_files
--
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