def import_module(module_name):
    try:
        LOG.debug("Importing module: %s", module_name)
        __import__(module_name)
        return sys.modules.get(module_name, None)
    except (__HOLE__, ValueError) as err:
        raise RuntimeError('Could not load module %s: %s' %
                           (module_name, err))
dataset/ETHPy150Open openstack/anvil/anvil/importer.py/import_module