[Reproducible-commits] [debbindiff] 01/01: Decode pdftotext output

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Jan 8 11:06:33 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 00970580d096e340fd4a05a58025822ac2078b3d
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Jan 8 12:06:17 2015 +0100

    Decode pdftotext output
---
 debbindiff/comparators/pdf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbindiff/comparators/pdf.py b/debbindiff/comparators/pdf.py
index 38a1d4c..4d0f472 100644
--- a/debbindiff/comparators/pdf.py
+++ b/debbindiff/comparators/pdf.py
@@ -32,7 +32,7 @@ def uncompress(path):
 def pdftotext(path):
     return subprocess.check_output(
         ['pdftotext', path, '-'],
-        shell=False, close_fds=True)
+        shell=False, close_fds=True).decode('utf-8')
 
 
 @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