[diffoscope] 03/04: ppu: ignore decoding errors from ppudump while filtering the output
Mattia Rizzolo
mattia at debian.org
Fri Oct 21 17:51:02 CEST 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit 5e1d4315e4605c884cf265f86bf54fb7258e5f4a
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Oct 21 15:31:10 2016 +0000
ppu: ignore decoding errors from ppudump while filtering the output
---
diffoscope/comparators/ppu.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/ppu.py b/diffoscope/comparators/ppu.py
index fb25898..d743a00 100644
--- a/diffoscope/comparators/ppu.py
+++ b/diffoscope/comparators/ppu.py
@@ -47,7 +47,7 @@ class Ppudump(Command):
return env
def filter(self, line):
- if re.match(r'^Analyzing %s \(v[0-9]+\)$' % re.escape(self.path), line.decode('utf-8')):
+ if re.match(r'^Analyzing %s \(v[0-9]+\)$' % re.escape(self.path), line.decode('utf-8', errors='ignore')):
return b''
return line
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list