From 08b1344730b039167c94aca9912b9dc9def3ae2e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 22 Sep 2015 22:41:22 +0200 Subject: reproducible: ignore files which only exist for a short amount of time --- bin/reproducible_html_breakages.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_html_breakages.py') diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py index d3d88da7..19fdd0c7 100755 --- a/bin/reproducible_html_breakages.py +++ b/bin/reproducible_html_breakages.py @@ -9,6 +9,7 @@ # Build a page full of CI issues to investigate from reproducible_common import * +import time def unrep_with_dbd_issues(): @@ -146,8 +147,11 @@ def alien_log(directory=None): + bcolors.ENDC) continue if not query_db(query.format(pkg=pkg, suite=suite, arch=arch)): - bad_files.append('/'.join([root, file])) - log.warning('/'.join([root, file]) + ' should not be there') + if os.path.getmtime('/'.join([root, file]))