[Git][reproducible-builds/diffoscope][master] comparators.llvm: Ensure we return bytes objections from Command.filter.

Chris Lamb gitlab at salsa.debian.org
Mon Sep 10 18:49:13 CEST 2018


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
68f3bdd9 by Chris Lamb at 2018-09-10T16:47:22Z
comparators.llvm: Ensure we return bytes objections from Command.filter.

- - - - -


1 changed file:

- diffoscope/comparators/llvm.py


Changes:

=====================================
diffoscope/comparators/llvm.py
=====================================
@@ -34,7 +34,7 @@ class LlvmBcAnalyzer(Command):
 
     def filter(self, line):
         if line.decode('utf-8', 'ignore').startswith('Summary of '):
-            return 'Summary:'
+            return b'Summary:'
         return line
 
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/68f3bdd99a176b86fac7426a4cb74e6934a59a76

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/68f3bdd99a176b86fac7426a4cb74e6934a59a76
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180910/b428e561/attachment.html>


More information about the rb-commits mailing list