def read(self, size):
        i = 0

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

        raise StopIteration
dataset/ETHPy150Open cloudkick/libcloud/libcloud/storage/drivers/dummy.py/DummyFileObject.read/swapped operands of `<`