diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-17 06:35:22 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-05 14:01:20 +0200 |
commit | 499cb57e1ac119e4ceec2fcae79474e377f88ce2 (patch) | |
tree | 08949b363c1bdc35c4a74ae78b0865c6923359bd /bin | |
parent | b506b617e2d6da952f3a22f1b7d1840fe269679d (diff) | |
download | jenkins.debian.net-499cb57e1ac119e4ceec2fcae79474e377f88ce2.tar.xz |
reproducible: breakages: handle DIFFS_PATH too (+ fix a typo in alien_log)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_breakages.py | 4 |
1 files changed, 2 insertions, 2 deletions
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:] |