[diffoscope] 03/03: comparators.Device: Log when "other" is not a device.

Chris Lamb chris at chris-lamb.co.uk
Wed Feb 1 10:06:54 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 3c947596dea8c33f9687336a1d35299f45ead253
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Feb 1 22:05:23 2017 +1300

    comparators.Device: Log when "other" is not a device.
    Signed-off-by: Chris Lamb <lamby at debian.org>
 diffoscope/comparators/device.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/diffoscope/comparators/device.py b/diffoscope/comparators/device.py
index f075950..9743bda 100644
--- a/diffoscope/comparators/device.py
+++ b/diffoscope/comparators/device.py
@@ -46,6 +46,7 @@ class Device(File):
             return self.get_device() == other.get_device()
         except (AttributeError, OSError):
             # 'other' is not a device, or something.
+            logger.debug("has_same_content: Not a device: %s", other)
             return False
     def create_placeholder(self):

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git

More information about the diffoscope mailing list