From 499cb57e1ac119e4ceec2fcae79474e377f88ce2 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 17 Jun 2015 06:35:22 +0000 Subject: reproducible: breakages: handle DIFFS_PATH too (+ fix a typo in alien_log) --- bin/reproducible_breakages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_breakages.py') diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py index 4cbc3cfa..208140ff 100755 --- a/bin/reproducible_breakages.py +++ b/bin/reproducible_breakages.py @@ -130,7 +130,7 @@ def pbuilder_dep_fail(): def alien_log(directory=None): if directory is None: bad_files = [] - for path in RBUILD_PATH, LOGS_PATH: + for path in RBUILD_PATH, LOGS_PATH, DIFFS_PATH: bad_files.extend(alien_log(path)) return bad_files log.info('running alien_log check over ' + directory + '...') @@ -140,7 +140,7 @@ def alien_log(directory=None): AND s.architecture="{arch}" ORDER BY s.name ASC, s.suite DESC''' bad_files = [] - for root, dirs, files in os.walk(RBUILD_PATH): + for root, dirs, files in os.walk(directory): if not files: continue suite, arch = root.rsplit('/', 2)[1:] -- cgit v1.2.3-70-g09d2