Commit 112d4222 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Removed dead code from v1 file streaming API.

parent 7d79c38f
Pipeline #102697 passed with stages
in 22 minutes and 52 seconds
......@@ -926,10 +926,6 @@ class FileContentIterator:
self.f.seek(self.offset)
self.length = length
def __iter__(self):
self.f.seek(self.offset)
self.read_bytes = 0
def __next__(self):
remaining = self.length - self.read_bytes
if remaining > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment