Kaydet (Commit) 3f9d85d9 authored tarafından Mariusz Felisiak's avatar Mariusz Felisiak Kaydeden (comit) Tim Graham

Removed unused eof argument to BoundaryIter._find_boundary().

Unused since its introduction in d725cc97.
üst 6f7279c4
...@@ -519,7 +519,7 @@ class BoundaryIter: ...@@ -519,7 +519,7 @@ class BoundaryIter:
raise StopIteration() raise StopIteration()
chunk = b''.join(chunks) chunk = b''.join(chunks)
boundary = self._find_boundary(chunk, len(chunk) < self._rollback) boundary = self._find_boundary(chunk)
if boundary: if boundary:
end, next = boundary end, next = boundary
...@@ -537,7 +537,7 @@ class BoundaryIter: ...@@ -537,7 +537,7 @@ class BoundaryIter:
stream.unget(chunk[-rollback:]) stream.unget(chunk[-rollback:])
return chunk[:-rollback] return chunk[:-rollback]
def _find_boundary(self, data, eof=False): def _find_boundary(self, data):
""" """
Find a multipart boundary in data. Find a multipart boundary in data.
......
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