Commit 6eac9f69 authored by Chris Lamb's avatar Chris Lamb 💬


Gbp-Dch: ignore
parent b51297ba
......@@ -370,11 +370,10 @@ class File(object, metaclass=abc.ABCMeta):
if difference is None:
return None
suffix = ' ({})'.format(self.magic_file_type) \
if self.magic_file_type != 'data':
if self.magic_file_type != 'data' else ''
"Format-specific differences are supported for this "
"file format but none were detected{}".format(suffix))
except subprocess.CalledProcessError as e:
difference = self.compare_bytes(other, source=source)
if e.output:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment