fix indent in parser.body_eof

This commit is contained in:
benoitc 2010-02-28 00:59:03 +01:00
parent 86736e448d
commit d1011ff301
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class Parser(object):
if self._chunk_eof:
return True
elif self._content_len == 0:
return True
return True
return False
def read_chunk(self, data):

View File

@ -147,7 +147,7 @@ class TeeInput(object):
self.tmp.seek(0, os.SEEK_END)
return chunk
if self.parser.body_eof():
if self.parser.body_eof():
break
data = read_partial(self.socket, length)