[Reproducible-commits] [diffoscope] 01/02: Ignore encoding errors in diff output
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Nov 21 00:18:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit 64aaf5839cd2da1ed91d6caaf06a8c10c6086f74
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Nov 19 15:15:28 2015 +0000
Ignore encoding errors in diff output
---
diffoscope/difference.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/difference.py b/diffoscope/difference.py
index 0c094f4..0372967 100644
--- a/diffoscope/difference.py
+++ b/diffoscope/difference.py
@@ -57,7 +57,7 @@ class DiffParser(object):
def parse(self):
for line in self._output.readlines():
- self._action = self._action(line.decode('utf-8'))
+ self._action = self._action(line.decode('utf-8', errors='replace'))
self._success = True
self._output.close()
--
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