Commit 96f2cffdce1858d059447cb5e7e457b6eaf26bfb

Authored by decalage2
1 parent 451f4bfa

olevba: slight fix to avoid a test to fail by mistake

oletools/olevba.py
@@ -3443,9 +3443,9 @@ class VBA_Parser(object): @@ -3443,9 +3443,9 @@ class VBA_Parser(object):
3443 try: 3443 try:
3444 from pcodedmp import pcodedmp 3444 from pcodedmp import pcodedmp
3445 except Exception: 3445 except Exception:
3446 - # This may happen with Pypy, because pcodedmp import win_unicode_console... 3446 + # This may happen with Pypy, because pcodedmp imports win_unicode_console...
3447 # TODO: this is a workaround, we just ignore P-code 3447 # TODO: this is a workaround, we just ignore P-code
3448 - log.exception('Error when importing pcodedmp') 3448 + log.exception('Exception when importing pcodedmp')
3449 self.pcodedmp_output = '' 3449 self.pcodedmp_output = ''
3450 return '' 3450 return ''
3451 # logging is disabled after importing pcodedmp, need to re-enable it 3451 # logging is disabled after importing pcodedmp, need to re-enable it
tests/test-data/encrypted/autostart-encrypt-standardpassword.xls 100755 → 100644
No preview for this file type