Skip to content

Commit

Permalink
Remove imp package dependency (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-royl authored Jul 28, 2024
1 parent 3f28200 commit c51d801
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import copy
import csv
from functools import cmp_to_key
import imp
import json
import os
import re
Expand Down Expand Up @@ -176,13 +175,6 @@ def get_min_version(version1, version2):
return version2


def get_special_treatment_list():
_, pathname, description = imp.find_module("exporting.special_treatment_objects")
return set([os.path.splitext(module)[0]
for module in os.listdir(pathname)
if module.endswith('.py')])


def extract_sid_from_session_file(session_file):
with open(session_file) as f:
content = f.readlines()
Expand Down

0 comments on commit c51d801

Please sign in to comment.