From 5902289e43c470b8dbf1b434726445b80b25f10a Mon Sep 17 00:00:00 2001 From: Varuna Bamunusinghe Date: Tue, 6 Aug 2019 11:39:23 +0530 Subject: [PATCH] Use chunk reader instead of readline() function from super. --- stream/io/s3.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/stream/io/s3.py b/stream/io/s3.py index b117b22..a2a2b8d 100644 --- a/stream/io/s3.py +++ b/stream/io/s3.py @@ -169,9 +169,6 @@ def read(self, n: int = -1) -> bytes: return super().read(n=n) def readline(self, limit: int = -1) -> bytes: - if self._lines: - return super().readline(limit=limit) - try: self.__load_current_chunk() except StopIteration: