def _get_backend_from_engine(engine):
    try:
        engine_config = dict(utils.load_yaml(engine_cfg))[engine]
        this_engine_cfg_file = engine_config['cfg']
        this_engine_cfg = dict(utils.load_yaml(this_engine_cfg_file))
        return Engine.get_backend(this_engine_cfg[engine]['backend'],
                                  this_engine_cfg[engine])
    except __HOLE__:
        LOG.exception("Could not find engine's cfg script")
dataset/ETHPy150Open openstack/entropy/entropy/__main__.py/_get_backend_from_engine