[Pkg-debile-commits] [debile-slave] 75/100: Respect suite naming convention

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:12 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 2b1bc6ec442a21c58666ffc135909de9e2f6c3ca
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Jul 6 02:17:18 2013 +0200

    Respect suite naming convention
---
 ethel/runners/sbuild.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ethel/runners/sbuild.py b/ethel/runners/sbuild.py
index 91daa7c..5d0b276 100644
--- a/ethel/runners/sbuild.py
+++ b/ethel/runners/sbuild.py
@@ -51,8 +51,8 @@ def parse_sbuild_log(log, sut):
     return obj
 
 
-def sbuild(package, dist, arch):
-    chroot = "%s-%s" % (dist, arch)
+def sbuild(package, suite, arch):
+    chroot = "%s-%s" % (suite, arch)
 
     dsc = os.path.basename(package)
     if not dsc.endswith('.dsc'):
@@ -64,7 +64,7 @@ def sbuild(package, dist, arch):
     if "-" in version:
         version, local = version.rsplit("-", 1)
 
-    dist, arch = chroot.split("-", 1)
+    suite, arch = chroot.split("-", 1)
     sut = DebianBinary(source, version, local, arch)
 
     out, err, ret = run_command([
@@ -72,7 +72,7 @@ def sbuild(package, dist, arch):
         "-A",
         "-c", chroot,
         "-v",
-        "-d", dist,
+        "-d", suite,
         "-j", "8",
         package,
     ])

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