Removed unused eof argument to BoundaryIter._find_boundary().

Unused since its introduction in d725cc9734.
This commit is contained in:
Mariusz Felisiak 2017-09-22 16:47:14 +02:00 committed by Tim Graham
parent 6f7279c4b1
commit 3f9d85d95c
1 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ class BoundaryIter:
raise StopIteration()
chunk = b''.join(chunks)
boundary = self._find_boundary(chunk, len(chunk) < self._rollback)
boundary = self._find_boundary(chunk)
if boundary:
end, next = boundary
@ -537,7 +537,7 @@ class BoundaryIter:
stream.unget(chunk[-rollback:])
return chunk[:-rollback]
def _find_boundary(self, data, eof=False):
def _find_boundary(self, data):
"""
Find a multipart boundary in data.