Commit 34decb9bcdeb619e2f6c3506f4d740d03b45cba7

Authored by Christian Herdtweck
Committed by Philippe Lagadec
1 parent 348fcb5b

temp: minor log stuff

oletools/msodde.py
... ... @@ -722,6 +722,7 @@ def process_xlsx(filepath, filed_filter_mode=None):
722 722 def process_file(filepath, field_filter_mode=None):
723 723 """ decides which of process_doc/x or process_xls/x to call """
724 724 if olefile.isOleFile(filepath):
  725 + log.debug('checking streams to see whether this is xls')
725 726 if xls_parser.is_xls(filepath):
726 727 return process_xls(filepath)
727 728 else:
... ...
oletools/xls_parser.py
... ... @@ -390,6 +390,7 @@ def test(*filenames):
390 390 for filename in filenames:
391 391 logging.info('checking file {0}'.format(filename))
392 392 if not olefile.isOleFile(filename):
  393 + logging.info('not an ole file - skip')
393 394 continue
394 395 xls = XlsFile(filename)
395 396  
... ...