def find_local_handoff_for_part(self, part):
        nodes = self.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
Look through devices in the ring for the first handoff device that was
dataset/ETHPy150Open openstack/swift/swift/container/replicator.py/ContainerReplicator.find_local_handoff_for_part