@staticmethod
    def load_module(type_, path):
        module = None
        try:
            module = load_source(
                "platformio.platforms.%s" % type_, path)
        except ImportError:
            raise exception.UnknownPlatform(type_)
        return module
dataset/ETHPy150Open platformio/platformio/platformio/platforms/base.py/PlatformFactory.load_module/original