def read(self, size):
        i = 0

        while i < self._yield_count:
            yield self._get_chunk(self._chunk_len)
            i += 1

        raise StopIteration
dataset/ETHPy150Open cloudkick/libcloud/libcloud/storage/drivers/dummy.py/DummyFileObject.read/original