def read_manifest(game_path, manifest_name):
    """
    Try reading manifest game data in dictionary form from game_path.
    """
    try:
        game_path = get_absolute_path(game_path)
        game_path = join_path(game_path, manifest_name)
        f = open(unicode(game_path), 'r')
        try:
            data = yaml.load(f)
        finally:
            f.close()
    except __HOLE__ as e:
        LOG.error('Failed loading manifest: %s', str(e))
        raise GameError
    else:
        return data
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/game.py/read_manifest