Skip to content
Myr

Merge pull request #585 from chazapis/develop

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix out-of-range issue with iter_lines (#515).

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 7f571f5, c333bd1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
745 unmodified lines
746 if pending is not None:747 chunk = pending + chunk748 lines = chunk.splitlines()749750 if lines[-1][-1] == chunk[-1]:750 if lines and lines[-1] and chunk and lines[-1][-1] == chunk[-1]:751 pending = lines.pop()752 else:753 pending = None754
79 unmodified lines