Skip to content
Myr

The `self` was missing again, and I think the two blocks were redundant.

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

authored by Telofy · committed by Telofy · parent 319b1ed · Browse files · 1 file+1 added−8 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−8 removed

  • other:+1 added−8 removed

1 file+1 added−8 removed

modified:requests/models.py+1 added-8 removed
771 unmodified lines
772 pass773774 # Decode unicode from given encoding.775 try:776 content = str(self.content, encoding)776 content = str(self.content, encoding, errors='replace')777 except (UnicodeError, TypeError):778 pass779780 # Try to fall back:781 if not content:782 try:783 content = str(content, encoding, errors='replace')784 except (UnicodeError, TypeError):785 pass786780 return content781782783 def raise_for_status(self):
15 unmodified lines