[Pkg-debile-commits] [debile-slave] 01/01: Fixed variable names

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Sun Aug 25 19:07:37 UTC 2013


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

leo.cavaille-guest pushed a commit to branch master
in repository debile-slave.

commit 6ff608f0e9f417a685f8b59229edffe00fd6a7b5
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sun Aug 25 21:07:22 2013 +0200

    Fixed variable names
---
 debile/slave/runners/sbuild.py |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debile/slave/runners/sbuild.py b/debile/slave/runners/sbuild.py
index 4382b8c..f338a0c 100644
--- a/debile/slave/runners/sbuild.py
+++ b/debile/slave/runners/sbuild.py
@@ -54,7 +54,7 @@ def parse_sbuild_log(log, sut, compiler):
 
 
 def sbuild(package, suite, arch, compiler, analysis):
-    chroot = "%s-%s" % (suite, arch)
+    chroot_name = "%s-%s" % (suite, arch)
 
     dsc = os.path.basename(package)
     if not dsc.endswith('.dsc'):
@@ -66,13 +66,11 @@ def sbuild(package, suite, arch, compiler, analysis):
     if "-" in version:
         version, local = version.rsplit("-", 1)
 
-    suite, arch = chroot.split("-", 1)
-
     if compiler == "gcc-4.8":
         out, err, ret = run_command([
             "sbuild",
             "-A",
-            "-c", chroot,
+            "-c", chroot_name,
             "-v",
             "-d", suite,
             "-j", "4",

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