[Git][reproducible-builds/diffoscope][master] Change the "No file format specific differences found inside, yet data differs"…

Chris Lamb gitlab at salsa.debian.org
Mon May 21 10:48:28 CEST 2018


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
c8198fce by Chris Lamb at 2018-05-21T10:27:08+02:00
Change the "No file format specific differences found inside, yet data differs" message to be clearer that diffoscope "knows" about this file format yet could not be helpful in this case.

- - - - -


1 changed file:

- diffoscope/comparators/utils/file.py


Changes:

=====================================
diffoscope/comparators/utils/file.py
=====================================
--- a/diffoscope/comparators/utils/file.py
+++ b/diffoscope/comparators/utils/file.py
@@ -368,8 +368,10 @@ class File(object, metaclass=abc.ABCMeta):
                     if difference is None:
                         return None
                     difference.add_comment(
-                        "No file format specific differences found inside, "
-                        "yet data differs ({})".format(self.magic_file_type),
+                        "Format-specific differences are supported for this "
+                        "file format but none were detected ({})".format(
+                            self.magic_file_type,
+                        ),
                     )
             except subprocess.CalledProcessError as e:
                 difference = self.compare_bytes(other, source=source)



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

---
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/c8198fce81f55cd44ac5855fec29930476337a81
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/20180521/393f1c11/attachment.html>


More information about the rb-commits mailing list