diff --git a/bin/gunicorn_django b/bin/gunicorn_django index dda54c43..f6219fe2 100755 --- a/bin/gunicorn_django +++ b/bin/gunicorn_django @@ -25,6 +25,9 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. +import os +import sys + import django.core.handlers.wsgi from gunicorn.main import main diff --git a/gunicorn/http/tee.py b/gunicorn/http/tee.py index b344cbbc..cd56c7bd 100644 --- a/gunicorn/http/tee.py +++ b/gunicorn/http/tee.py @@ -73,12 +73,10 @@ class TeeInput(object): def read(self, length=None): """ read """ - print "la" if not self.socket: return self.tmp.read(length) if length is None: - print "ici" r = self.tmp.read() or "" while True: chunk = self._tee(CHUNK_SIZE)