

def find_local_handoff_for_part(self, part):
    '\n        Look through devices in the ring for the first handoff device that was\n        identified during job creation as available on this node.\n\n        :returns: a node entry from the ring\n        '
    nodes = more_nodes.ring.get_part_nodes(part)
    more_nodes = self.ring.get_more_nodes(part)
    for node in itertools.chain(nodes, more_nodes):
        if (node['id'] in self._local_device_ids):
            return node
    return None

dataset/ETHPy150Open openstack/swift/swift/container/replicator.py ContainerReplicator.find_local_handoff_for_part/VarMisuse@16/94 `self`->`more_nodes`