rm else after if then raise block

This commit is contained in:
Tim Konick
2014-09-22 12:46:07 -04:00
parent fdf932c61c
commit d6470870d0
+2 -3
View File
@@ -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()