[Reproducible-commits] [debbindiff] 02/08: Another encoding fix
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Mar 20 11:31:41 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 3ca990fcc082a76c14f7d00adcdd444db5dd32a8
Author: Jérémy Bobbio <lunar at debian.org>
Date: Fri Mar 20 11:37:00 2015 +0100
Another encoding fix
---
debbindiff/comparators/tar.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debbindiff/comparators/tar.py b/debbindiff/comparators/tar.py
index 01616ad..381d6d2 100644
--- a/debbindiff/comparators/tar.py
+++ b/debbindiff/comparators/tar.py
@@ -66,8 +66,8 @@ def compare_tar_files(path1, path2, source=None):
os.unlink(in_path1)
os.unlink(in_path2)
# look up differences in file list and file metadata
- content1 = get_tar_content(tar1)
- content2 = get_tar_content(tar2)
+ content1 = get_tar_content(tar1).decode('utf-8')
+ content2 = get_tar_content(tar2).decode('utf-8')
if content1 != content2:
differences.append(Difference(
content1.splitlines(1), content2.splitlines(1),
--
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