[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: breakages: do not fail on unrecognized files

Holger Levsen holger at moszumanska.debian.org
Wed Jun 3 14:34:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e899e8a2e9cbb9c89571465f848ec3e0fd477b03
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Jun 3 16:32:25 2015 +0200

    reproducible: breakages: do not fail on unrecognized files
---
 bin/reproducible_breakages.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py
index 5d4da63..4cbc3cf 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')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list