[Reproducible-commits] [debbindiff] 01/01: showttf output seems to be latin-1

Jérémy Bobbio lunar at moszumanska.debian.org
Mon Mar 23 18:01:29 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 831e6d454bb649b70cec543c10345917a10c5549
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Mon Mar 23 17:26:10 2015 +0100

    showttf output seems to be latin-1
---
 debbindiff/comparators/fonts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbindiff/comparators/fonts.py b/debbindiff/comparators/fonts.py
index 875f399..464ee86 100644
--- a/debbindiff/comparators/fonts.py
+++ b/debbindiff/comparators/fonts.py
@@ -25,7 +25,7 @@ from debbindiff.difference import Difference
 
 @tool_required('showttf')
 def show_ttf(path):
-    return subprocess.check_output(['showttf', path], shell=False).decode(locale.getpreferredencoding())
+    return subprocess.check_output(['showttf', path], shell=False).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