def next(self):
        if self.size > self.total:
            raise StopIteration()
        self.size += len(self.chunk)
        self.hasher.update(self.chunk)
        return self.chunk
dataset/ETHPy150Open openstack/swift/test/probe/test_reconstructor_rebuild.py/Body.next/original