diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-03 16:32:25 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-03 16:34:45 +0200 |
commit | e899e8a2e9cbb9c89571465f848ec3e0fd477b03 (patch) | |
tree | 7e9da314680e346d5baa232dc35812ac51a41f5d /bin | |
parent | 937af2771bde673e474f589f7d0a74d8c3307ecb (diff) | |
download | jenkins.debian.net-e899e8a2e9cbb9c89571465f848ec3e0fd477b03.tar.xz |
reproducible: breakages: do not fail on unrecognized files
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_breakages.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py index 5d4da63b..4cbc3cfa 100755 --- a/bin/reproducible_breakages.py +++ b/bin/reproducible_breakages.py @@ -128,7 +128,7 @@ def pbuilder_dep_fail(): def alien_log(directory=None): - if directory == None: + if directory is None: bad_files = [] for path in RBUILD_PATH, LOGS_PATH: bad_files.extend(alien_log(path)) @@ -151,6 +151,7 @@ def alien_log(directory=None): log.critical(bcolors.FAIL + '/'.join([root, file]) + ' does not seem to be a file that should be there' + 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') |