libextractor-python

GNU libextractor
Log | Files | Refs | README | LICENSE

commit d7b35fc2672855a9494fdde0f2c04f0f77f8198a
parent 718687d529021466d7be8820397f4079015d8b80
Author: Nils Gillmann <gillmann@infotropique.org>
Date:   Sun, 17 Jun 2018 14:24:09 +0000

foo

Signed-off-by: Nils Gillmann <gillmann@infotropique.org>

Diffstat:
Mlibextractor/examples/__main__.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libextractor/examples/__main__.py b/libextractor/examples/__main__.py @@ -56,7 +56,8 @@ def print_k(xt, plugin, type, format, mime, data, datalen): # (in general, depending on the mime type and format, only # the first 'datalen' bytes in 'data' should be used). if (format == extractor.EXTRACTOR_METAFORMAT_UTF8): - # print("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) + print("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) + # DEBUGGING OUTPUT + LOG: logger.debug("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) return 0