[diffoscope] 01/01: Clarify "Unidentified file" log message as we did try and lookup via the comparators first.

Chris Lamb chris at chris-lamb.co.uk
Wed Jan 10 04:36:09 CET 2018


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 40dca4bc103684f699c29be4d2144855d2f09503
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Jan 10 09:05:42 2018 +0530

    Clarify "Unidentified file" log message as we did try and lookup via the comparators first.
---
 diffoscope/comparators/utils/specialize.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/diffoscope/comparators/utils/specialize.py b/diffoscope/comparators/utils/specialize.py
index fcf6912..7aab054 100644
--- a/diffoscope/comparators/utils/specialize.py
+++ b/diffoscope/comparators/utils/specialize.py
@@ -54,7 +54,11 @@ def specialize(file):
             logger.debug("File recognized by fallback. Magic says: %s", file.magic_file_type)
             return file
 
-    logger.debug("Unidentified file. Magic says: %s", file.magic_file_type)
+    logger.debug(
+        "File not identified by any comparator. Magic says: %s",
+        file.magic_file_type,
+    )
+
     return file
 
 

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


More information about the diffoscope mailing list