From 369d53eb3502bf295d81716b096b350016229305 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Wed, 2 Mar 2016 23:51:27 -0800 Subject: [PATCH] be louder about the signature finding (or not) --- tldp/doctypes/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tldp/doctypes/common.py b/tldp/doctypes/common.py index 0611116..b301a0c 100644 --- a/tldp/doctypes/common.py +++ b/tldp/doctypes/common.py @@ -49,11 +49,11 @@ class SignatureChecker(object): for sig in cls.signatures: try: sindex = buf.index(sig.lower()) - logger.debug("Found signature %r in %s at %s; doctype %s.", + logger.debug("YES FOUND signature %r in %s at %s; doctype %s.", sig, f.name, sindex, cls) return sindex except ValueError: - logger.debug("Signature %r not found in %s for type %s", + logger.debug("not found signature %r in %s for type %s", sig, f.name, cls.__name__) return None