[Reproducible-commits] [debbindiff] 05/06: Drop stderr output when running cpio -t

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Mar 19 20:56:48 UTC 2015


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

lunar pushed a commit to branch master
in repository debbindiff.

commit ab986e441498a66b6640dfffc178b2560a3f569d
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Mar 19 21:39:04 2015 +0100

    Drop stderr output when running cpio -t
---
 debbindiff/comparators/cpio.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbindiff/comparators/cpio.py b/debbindiff/comparators/cpio.py
index 3561c48..5809067 100644
--- a/debbindiff/comparators/cpio.py
+++ b/debbindiff/comparators/cpio.py
@@ -30,7 +30,7 @@ def get_cpio_content(path, verbose=False):
     cmd = ['cpio', '--quiet', '-tF', path]
     if verbose:
         cmd = ['cpio', '-tvF', path]
-    return subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=False)
+    return subprocess.check_output(cmd, stderr=subprocess.PIPE, shell=False)
 
 
 @tool_required('cpio')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list