[Qa-jenkins-scm] [jenkins.debian.net] 03/08: reproducible: breakages: handle DIFFS_PATH too (+ fix a typo in alien_log)

Holger Levsen holger at moszumanska.debian.org
Sun Jul 5 12:01:46 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 499cb57e1ac119e4ceec2fcae79474e377f88ce2
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Jun 17 06:35:22 2015 +0000

    reproducible: breakages: handle DIFFS_PATH too (+ fix a typo in alien_log)
---
 bin/reproducible_breakages.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py
index 4cbc3cf..208140f 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:]

-- 
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