[diffoscope] 03/03: Clarify that this debugging statement is regarding Binary.has_same_content, not a subclass

Chris Lamb chris at chris-lamb.co.uk
Thu Dec 22 21:55:51 CET 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 813ac146ed94ca5a5ac5b9be93f19569e5e9bf6e
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Dec 22 18:34:31 2016 +0000

    Clarify that this debugging statement is regarding Binary.has_same_content, not a subclass
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/binary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/binary.py b/diffoscope/comparators/binary.py
index 45e1a52..792fca6 100644
--- a/diffoscope/comparators/binary.py
+++ b/diffoscope/comparators/binary.py
@@ -189,7 +189,7 @@ class File(object, metaclass=abc.ABCMeta):
 
     @tool_required('cmp')
     def has_same_content_as(self, other):
-        logger.debug('%s has_same_content %s', self, other)
+        logger.debug('Binary.has_same_content: %s %s', self, other)
         # try comparing small files directly first
         try:
             my_size = os.path.getsize(self.path)

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


More information about the diffoscope mailing list