[diffoscope] 02/03: comparators.bzip2: Don't print error output from bzip2 call.

Chris Lamb chris at chris-lamb.co.uk
Sat Apr 15 00:00:30 CEST 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit 21180c4b9f06ae967a77bee82df306058790fd98
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Apr 14 22:22:30 2017 +0100

    comparators.bzip2: Don't print error output from bzip2 call.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/bzip2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/bzip2.py b/diffoscope/comparators/bzip2.py
index 1923e0a..baac954 100644
--- a/diffoscope/comparators/bzip2.py
+++ b/diffoscope/comparators/bzip2.py
@@ -51,7 +51,7 @@ class Bzip2Container(Archive):
         with open(dest_path, 'wb') as fp:
             subprocess.check_call(
                 ["bzip2", "--decompress", "--stdout", self.source.path],
-                shell=False, stdout=fp, stderr=None)
+                shell=False, stdout=fp, stderr=subprocess.PIPE)
         return dest_path
 
 

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


More information about the diffoscope mailing list