(self)
| 549 | self.chunk_size = chunk_size |
| 550 | |
| 551 | def __next__(self): |
| 552 | try: |
| 553 | data = self.flo.read(self.chunk_size) |
| 554 | except InputStreamExhausted: |
| 555 | raise StopIteration() |
| 556 | if data: |
| 557 | return data |
| 558 | else: |
| 559 | raise StopIteration() |
| 560 | |
| 561 | def __iter__(self): |
| 562 | return self |
no test coverage detected