Skip to content

Commit c51d801

Browse files
authored
Remove imp package dependency (#100)
1 parent 3f28200 commit c51d801

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import copy
44
import csv
55
from functools import cmp_to_key
6-
import imp
76
import json
87
import os
98
import re
@@ -176,13 +175,6 @@ def get_min_version(version1, version2):
176175
return version2
177176

178177

179-
def get_special_treatment_list():
180-
_, pathname, description = imp.find_module("exporting.special_treatment_objects")
181-
return set([os.path.splitext(module)[0]
182-
for module in os.listdir(pathname)
183-
if module.endswith('.py')])
184-
185-
186178
def extract_sid_from_session_file(session_file):
187179
with open(session_file) as f:
188180
content = f.readlines()

0 commit comments

Comments
 (0)