From d1011ff301a5d72abb696d512570fd155bdd4471 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sun, 28 Feb 2010 00:59:03 +0100 Subject: [PATCH] fix indent in parser.body_eof --- gunicorn/http/parser.py | 2 +- gunicorn/http/tee.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/http/parser.py b/gunicorn/http/parser.py index 3f311d3d..b8c0e03c 100644 --- a/gunicorn/http/parser.py +++ b/gunicorn/http/parser.py @@ -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): diff --git a/gunicorn/http/tee.py b/gunicorn/http/tee.py index 967f4199..2a1a0627 100644 --- a/gunicorn/http/tee.py +++ b/gunicorn/http/tee.py @@ -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)