From 0d0494618ae22303fc4761f7ba65bd4575aba8f7 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 22 Sep 2015 21:53:20 +0000 Subject: reproducible: _breakages: wrap a a os.path call in a try/excpet to catch FileNotFoundError and not choke on it --- bin/reproducible_html_breakages.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py index 19fdd0c7..67698f16 100755 --- a/bin/reproducible_html_breakages.py +++ b/bin/reproducible_html_breakages.py @@ -147,11 +147,14 @@ def alien_log(directory=None): + bcolors.ENDC) continue if not query_db(query.format(pkg=pkg, suite=suite, arch=arch)): - if os.path.getmtime('/'.join([root, file]))