Commit fb311f39 authored by Graham Christensen's avatar Graham Christensen Committed by Chris Lamb
Browse files

Clarify notice if no file-specific diff caused fallback. (MR: !19)



Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent f9afd0e1
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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: