[Pkg-debile-commits] [debile-slave] 49/100: meh

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:07 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 78d6549202b248a2ab6612775c02b5b0beb94e94
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Thu May 30 21:15:35 2013 -0400

    meh
---
 ethel/runners/adequate.py |   10 +++++-----
 ethel/runners/piuparts.py |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ethel/runners/adequate.py b/ethel/runners/adequate.py
index c144da7..95e44b5 100644
--- a/ethel/runners/adequate.py
+++ b/ethel/runners/adequate.py
@@ -10,25 +10,25 @@ def adequate(chroot_name, packages, analysis):
         for deb in packages:
             chroot.copy(deb, "/tmp")
 
-        ret, out, err = chroot.run([
+        out, err, ret = chroot.run([
             'apt-get', 'install', '-y', 'adequate'
         ], user='root')
 
-        ret, out, err = chroot.run([
+        out, err, ret = chroot.run([
             'dpkg', '-i'
         ] + [
             "/tmp/%s" % (x) for x in packages
         ], user='root', return_codes=(0, 1))
 
-        ret, out, err = chroot.run([
+        out, err, ret = chroot.run([
             'apt-get', 'install', '-y', '-f'
         ], user='root')
 
-        ret, out, err = chroot.run(['adequate', deb.split("_", 1)[0]])
+        out, err, ret = chroot.run(['adequate', deb.split("_", 1)[0]])
 
         failed = False
         for issue in parse_adequate(out.splitlines()):
             failed = True
             analysis.results.append(issue)
 
-        return analysis, failed, out
+        return analysis, out, failed
diff --git a/ethel/runners/piuparts.py b/ethel/runners/piuparts.py
index 4de86e2..fbdaa7d 100644
--- a/ethel/runners/piuparts.py
+++ b/ethel/runners/piuparts.py
@@ -34,14 +34,14 @@ def piuparts(chroot, packages, analysis):
         for package in packages:
             chroot.copy(package, "/tmp")
 
-        print("Installing...")
+        print("[     ] Installing...")
         chroot.run(['apt-get', 'install', '-y', 'piuparts'], user='root')
-        print("Piuparts installed.")
+        print("[     ] Piuparts installed.")
 
         failed = False
         try:
-            print("Running Piuparts..")
-            ret, out, err = chroot.run([
+            print("[     ] Running Piuparts..")
+            out, err, ret = chroot.run([
                 'piuparts',
                     '-b', copy_location,
             ] + [ "/tmp/%s" % (x) for x in packages ] + [
@@ -55,4 +55,4 @@ def piuparts(chroot, packages, analysis):
         for x in parse_piuparts(out.splitlines(), package):
             analysis.results.append(x)
 
-        return out, analysis, failed
+        return analysis, out, failed

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