From: Tim Konick Date: Mon, 22 Sep 2014 16:46:07 +0000 (-0400) Subject: rm `else` after `if` then `raise` block X-Git-Tag: v2.4.2~3^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6470870d08828c1d332ae446d5288eaab55d1f1;p=services%2Fpython-requests.git rm `else` after `if` then `raise` block --- diff --git a/requests/models.py b/requests/models.py index a6af642..5974507 100644 --- a/requests/models.py +++ b/requests/models.py @@ -658,9 +658,8 @@ class Response(object): if self._content_consumed and isinstance(self._content, bool): raise RuntimeError( 'The content for this response was already consumed') - else: - # simulate reading small chunks of the content - reused_chunks = iter_slices(self._content, chunk_size) + # simulate reading small chunks of the content + reused_chunks = iter_slices(self._content, chunk_size) stream_chunks = generate()