Commit 2bdc358b485c1907c6442e9d33d4b578babdf125
Committed by
GitHub
Merge pull request #285 from enkelli/unify-ppt-parser-logging
Use only module-specific logger in the ppt_parser module.
Showing
1 changed file
with
2 additions
and
2 deletions
oletools/ppt_parser.py
| ... | ... | @@ -1423,7 +1423,7 @@ class PptParser(object): |
| 1423 | 1423 | .. seealso:: search_vba_storage |
| 1424 | 1424 | """ |
| 1425 | 1425 | |
| 1426 | - logging.debug('looking for VBA info containers') | |
| 1426 | + log.debug('looking for VBA info containers') | |
| 1427 | 1427 | |
| 1428 | 1428 | pattern = VBAInfoContainer.generate_pattern( |
| 1429 | 1429 | rec_len=VBAInfoContainer.RECORD_LENGTH) \ |
| ... | ... | @@ -1475,7 +1475,7 @@ class PptParser(object): |
| 1475 | 1475 | .. seealso:: :py:meth:`search_vba_info` |
| 1476 | 1476 | """ |
| 1477 | 1477 | |
| 1478 | - logging.debug('looking for VBA storage objects') | |
| 1478 | + log.debug('looking for VBA storage objects') | |
| 1479 | 1479 | for obj_type in (ExternalObjectStorageUncompressed, |
| 1480 | 1480 | ExternalObjectStorageCompressed): |
| 1481 | 1481 | # re-position stream at start | ... | ... |