mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fixed a couple harmless typos.
Thanks to Josh Ourisman for spotting them.
This commit is contained in:
parent
6bf6fbe72f
commit
0c05de4d2b
1
THANKS
1
THANKS
@ -20,3 +20,4 @@ Adrien Lemaire <lemaire.adrien@gmail.com>
|
|||||||
Oliver Tonnhofer <olt@bogosoft.com>
|
Oliver Tonnhofer <olt@bogosoft.com>
|
||||||
Anand Chitipothu <anandology@gmail.com>
|
Anand Chitipothu <anandology@gmail.com>
|
||||||
Jannis Leidel <jannis@leidel.info>
|
Jannis Leidel <jannis@leidel.info>
|
||||||
|
Josh Ourisman <josh@joshourisman.com>
|
||||||
|
|||||||
@ -72,7 +72,7 @@ class DjangoApplication(Application):
|
|||||||
from django.conf import ENVIRONMENT_VARIABLE
|
from django.conf import ENVIRONMENT_VARIABLE
|
||||||
from django.core.handlers.wsgi import WSGIHandler
|
from django.core.handlers.wsgi import WSGIHandler
|
||||||
os.environ[ENVIRONMENT_VARIABLE] = self.settings_modname
|
os.environ[ENVIRONMENT_VARIABLE] = self.settings_modname
|
||||||
# setup envoron
|
# setup environ
|
||||||
self.setup_environ()
|
self.setup_environ()
|
||||||
return WSGIHandler()
|
return WSGIHandler()
|
||||||
|
|
||||||
|
|||||||
@ -116,7 +116,7 @@ class Worker(object):
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
def handle_error(self, client, exc):
|
def handle_error(self, client, exc):
|
||||||
self.log.exception("Error hanlding request")
|
self.log.exception("Error handling request")
|
||||||
|
|
||||||
status_int = 500
|
status_int = 500
|
||||||
reason = "Internal Server Error"
|
reason = "Internal Server Error"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user