def _read_swift_topology():
    LOG.debug("Reading Swift nodes topology from {config}".format(
              config=CONF.swift_topology_file))
    topology = {}
    try:
        with open(CONF.swift_topology_file) as f:
            for line in f:
                line = line.strip()
                if not line:
                    continue
                (host, path) = line.split()
                topology[host] = path
    except __HOLE__:
        LOG.warning(_LW("Unable to read Swift nodes topology from {config}")
                    .format(config=CONF.swift_topology_file))
        return {}

    return topology
dataset/ETHPy150Open openstack/sahara/sahara/topology/topology_helper.py/_read_swift_topology