[Reproducible-commits] [diffoscope] 02/23: Decode hexlify output XXX

Jérémy Bobbio lunar at moszumanska.debian.org
Sat Sep 19 23:18:20 UTC 2015


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

lunar pushed a commit to branch pu/py3
in repository diffoscope.

commit f366689404c665fb68eb5cd12fc721fa47c16a1c
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Sep 18 15:34:44 2015 +0200

    Decode hexlify output XXX
---
 diffoscope/comparators/binary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/binary.py b/diffoscope/comparators/binary.py
index 4f4d944..8596067 100644
--- a/diffoscope/comparators/binary.py
+++ b/diffoscope/comparators/binary.py
@@ -51,7 +51,7 @@ def hexdump_fallback(path):
     hexdump = ''
     with open(path, 'rb') as f:
         for buf in iter(lambda: f.read(32), b''):
-            hexdump += u'%s\n' % hexlify(buf)
+            hexdump += u'%s\n' % hexlify(buf).decode('us-ascii')
     return hexdump
 
 

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



More information about the Reproducible-commits mailing list