board-inspector: Fix sys.path for all internal modules
@@ -14,11 +14,11 @@ import lxml.etree
import argparse
from collections import namedtuple
from importlib import import_module
-from cpuparser import parse_cpuid, get_online_cpu_ids, get_offline_cpu_ids
script_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(script_dir))
+from cpuparser import parse_cpuid, get_online_cpu_ids, get_offline_cpu_ids
from inspectorlib import validator
class AddLLCCATAction(argparse.Action):
