[Reproducible-commits] [debbindiff] 01/01: Swallow stderr when running showttf

Jérémy Bobbio lunar at moszumanska.debian.org
Sat Mar 28 10:35:12 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 ac5b193e37b6d61b954e78987e431038db7b7af6
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Mar 28 11:34:47 2015 +0100

    Swallow stderr when running showttf
    
    Closes: #781374
---
 debbindiff/comparators/fonts.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debbindiff/comparators/fonts.py b/debbindiff/comparators/fonts.py
index a064b30..266150c 100644
--- a/debbindiff/comparators/fonts.py
+++ b/debbindiff/comparators/fonts.py
@@ -26,7 +26,8 @@ from debbindiff.difference import Difference
 
 @tool_required('showttf')
 def show_ttf(path):
-    return subprocess.check_output(['showttf', path], shell=False).decode('latin-1')
+    return subprocess.check_output(['showttf', path], shell=False,
+                                   stderr=subprocess.PIPE).decode('latin-1')
 
 
 @binary_fallback

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