[Pkg-debile-commits] [debile-slave] 98/100: Bug in clanganalyzer arch choice

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:17 UTC 2013


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

sylvestre pushed a commit to branch master
in repository debile-slave.

commit 27259d0d4c61f3404659656f5ace8819d2a22b0c
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Mon Jul 29 18:52:20 2013 +0200

    Bug in clanganalyzer arch choice
---
 ethel/commands/clanganalyzer.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ethel/commands/clanganalyzer.py b/ethel/commands/clanganalyzer.py
index e55e709..9d49a1e 100644
--- a/ethel/commands/clanganalyzer.py
+++ b/ethel/commands/clanganalyzer.py
@@ -6,9 +6,8 @@ from ethel.config import Config
 def run(dsc, package, job, firehose):
     config = Config()
     suite = job['suite']
-    arch = package['arch']
-    if package['arch'] == 'all':
-        arch = config.get('capabilities', 'all-arch')
+    # clanganalyzer can only run on source packages
+    arch = config.get('capabilities', 'all-arch')
 
     return clanganalyzer(dsc, suite, arch, firehose)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list