Skip to content

Commit

Permalink
Merge pull request #841 from cccs-jh/remove_imp
Browse files Browse the repository at this point in the history
Remove imp import from xxxswf for python 3.12 compatability
  • Loading branch information
decalage2 authored Jun 10, 2024
2 parents 169ef50 + 80825c4 commit f053aad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions oletools/thirdparty/xxxswf/xxxswf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import fnmatch
import hashlib
import imp
import math
import os
import re
Expand Down Expand Up @@ -43,7 +42,6 @@ def yaraScan(d):
# test if yara module is installed
# if not Yara can be downloaded from http://code.google.com/p/yara-project/
try:
imp.find_module('yara')
import yara
except ImportError:
print('\t[ERROR] Yara module not installed - aborting scan')
Expand Down

0 comments on commit f053aad

Please sign in to comment.