Skip to content
Snippets Groups Projects
Commit 3131f5ee authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

comparators.utils.file: Include magic file type when we know the file format...

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's avatarChris Lamb <lamby@debian.org>
parent 98017e8b
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ class File(object, metaclass=abc.ABCMeta): ...@@ -213,7 +213,7 @@ class File(object, metaclass=abc.ABCMeta):
return None return None
difference.add_comment( difference.add_comment(
"No file format specific differences found inside, " "No file format specific differences found inside, "
"yet data differs", "yet data differs ({})".format(self.magic_file_type),
) )
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
difference = self.compare_bytes(other, source=source) difference = self.compare_bytes(other, source=source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment