don't return headers here.

This commit is contained in:
benoitc 2010-02-24 18:57:12 +01:00
parent 708639c8f0
commit 3a2673d52e
2 changed files with 2 additions and 5 deletions

View File

@ -34,9 +34,7 @@ class Parser(object):
if parsing isn't done. headers dict is updated
with new headers.
"""
if self.headers:
return self.headers
ld = len("\r\n\r\n")
i = buf.find("\r\n\r\n")
if i != -1:

View File

@ -68,8 +68,7 @@ class Command(BaseCommand):
# django.core.management.base forces the locale to en-us.
translation.activate(settings.LANGUAGE_CODE)
try:
handler = AdminMediaHandler(WSGIHandler(), admin_media_path)
arbiter = Arbiter(conf.address, conf.workers, handler,