[Git][reproducible-builds/diffoscope][master] Clarify notice if no file-specific diff caused fallback. (MR: !19)

Chris Lamb gitlab at salsa.debian.org
Mon Feb 11 17:53:54 CET 2019


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
fb311f39 by Graham Christensen at 2019-02-11T16:52:18Z
Clarify notice if no file-specific diff caused fallback. (MR: !19)

Signed-off-by: Chris Lamb <lamby at debian.org>

- - - - -


1 changed file:

- diffoscope/comparators/utils/file.py


Changes:

=====================================
diffoscope/comparators/utils/file.py
=====================================
@@ -377,7 +377,8 @@ class File(object, metaclass=abc.ABCMeta):
                         if self.magic_file_type != 'data' else ''
                     difference.add_comment(
                         "Format-specific differences are supported for this "
-                        "file format but none were detected{}".format(suffix))
+                        "file format, but no file-specific differences were "
+                        "detected. Falling back to a binary diff.{}".format(suffix))
             except subprocess.CalledProcessError as e:
                 difference = self.compare_bytes(other, source=source)
                 if e.output:



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/fb311f39f49dbd22acd939572b04f4a8fe586617
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/20190211/420076e4/attachment.html>


More information about the rb-commits mailing list