Commit b844b306d1c0888d396b31045ef7039d24428ea2

Authored by Christian Herdtweck
1 parent f32ee920

msodde: remove unused / unnecessary lines

making pylint happy, part 2
Showing 1 changed file with 0 additions and 4 deletions
oletools/msodde.py
... ... @@ -51,7 +51,6 @@ from __future__ import print_function
51 51  
52 52 import argparse
53 53 import os
54   -from os.path import abspath, dirname
55 54 import sys
56 55 import re
57 56 import csv
... ... @@ -64,7 +63,6 @@ from oletools import rtfobj
64 63 from oletools.ppt_record_parser import is_ppt
65 64 from oletools import crypto
66 65 from oletools.common.log_helper import log_helper
67   -from oletools.common.errors import UnsupportedEncryptionError
68 66  
69 67 # -----------------------------------------------------------------------------
70 68 # CHANGELOG:
... ... @@ -978,8 +976,6 @@ def process_maybe_encrypted(filepath, passwords=None, crypto_nesting=0,
978 976 logger.info('Analyze decrypted file')
979 977 result = process_maybe_encrypted(decrypted_file, passwords,
980 978 crypto_nesting+1, **kwargs)
981   - except Exception:
982   - raise
983 979 finally: # clean up
984 980 try: # (maybe file was not yet created)
985 981 os.unlink(decrypted_file)
... ...