[diffoscope] 02/02: comparators.utils.file: Include magic file type when we know the file format but can't find file-specific details. (Closes: #850850)
Chris Lamb
chris at chris-lamb.co.uk
Tue Jan 10 21:19:17 CET 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 3131f5ee6c1ee10475736d74f8f903fa02263bdb
Author: Chris Lamb <lamby at debian.org>
Date: Tue Jan 10 20:18:42 2017 +0000
comparators.utils.file: Include magic file type when we know the file format but can't find file-specific details. (Closes: #850850)
Signed-off-by: Chris Lamb <lamby at debian.org
---
diffoscope/comparators/utils/file.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/utils/file.py b/diffoscope/comparators/utils/file.py
index 900298e..25c0f1a 100644
--- a/diffoscope/comparators/utils/file.py
+++ b/diffoscope/comparators/utils/file.py
@@ -213,7 +213,7 @@ class File(object, metaclass=abc.ABCMeta):
return None
difference.add_comment(
"No file format specific differences found inside, "
- "yet data differs",
+ "yet data differs ({})".format(self.magic_file_type),
)
except subprocess.CalledProcessError as e:
difference = self.compare_bytes(other, source=source)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list