From 0c05de4d2b0292973d411f1b97e2b6e38048aa5c Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Tue, 15 Feb 2011 14:51:03 -0500 Subject: [PATCH] Fixed a couple harmless typos. Thanks to Josh Ourisman for spotting them. --- THANKS | 1 + gunicorn/app/djangoapp.py | 2 +- gunicorn/workers/base.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/THANKS b/THANKS index e1d7f024..2614c331 100644 --- a/THANKS +++ b/THANKS @@ -20,3 +20,4 @@ Adrien Lemaire Oliver Tonnhofer Anand Chitipothu Jannis Leidel +Josh Ourisman diff --git a/gunicorn/app/djangoapp.py b/gunicorn/app/djangoapp.py index 12d2fe14..5d60b69b 100644 --- a/gunicorn/app/djangoapp.py +++ b/gunicorn/app/djangoapp.py @@ -72,7 +72,7 @@ class DjangoApplication(Application): from django.conf import ENVIRONMENT_VARIABLE from django.core.handlers.wsgi import WSGIHandler os.environ[ENVIRONMENT_VARIABLE] = self.settings_modname - # setup envoron + # setup environ self.setup_environ() return WSGIHandler() diff --git a/gunicorn/workers/base.py b/gunicorn/workers/base.py index 2d4abaa7..d8725ddf 100644 --- a/gunicorn/workers/base.py +++ b/gunicorn/workers/base.py @@ -116,7 +116,7 @@ class Worker(object): sys.exit(0) def handle_error(self, client, exc): - self.log.exception("Error hanlding request") + self.log.exception("Error handling request") status_int = 500 reason = "Internal Server Error"