Skip to content
Snippets Groups Projects
Verified Commit 5e1d4315 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

ppu: ignore decoding errors from ppudump while filtering the output

parent 32b916d4
No related branches found
No related tags found
Loading
...@@ -47,7 +47,7 @@ class Ppudump(Command): ...@@ -47,7 +47,7 @@ class Ppudump(Command):
return env return env
def filter(self, line): 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 b''
return line return line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment