Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 5902289

Browse files
committed
Use chunk reader instead of readline() function from super.
1 parent a99285d commit 5902289

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

stream/io/s3.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ def read(self, n: int = -1) -> bytes:
169169
return super().read(n=n)
170170

171171
def readline(self, limit: int = -1) -> bytes:
172-
if self._lines:
173-
return super().readline(limit=limit)
174-
175172
try:
176173
self.__load_current_chunk()
177174
except StopIteration:

0 commit comments

Comments
 (0)