mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix typo WSGIErrorsWraper -> WSGIErrorsWrapper
This commit is contained in:
parent
b8b0a87fee
commit
f3bb0e1e1d
@ -44,7 +44,7 @@ class FileWrapper(object):
|
||||
raise IndexError
|
||||
|
||||
|
||||
class WSGIErrorsWraper(io.RawIOBase):
|
||||
class WSGIErrorsWrapper(io.RawIOBase):
|
||||
|
||||
def __init__(self, cfg):
|
||||
errorlog = logging.getLogger("gunicorn.error")
|
||||
@ -70,7 +70,7 @@ class WSGIErrorsWraper(io.RawIOBase):
|
||||
|
||||
def base_environ(cfg):
|
||||
return {
|
||||
"wsgi.errors": WSGIErrorsWraper(cfg),
|
||||
"wsgi.errors": WSGIErrorsWrapper(cfg),
|
||||
"wsgi.version": (1, 0),
|
||||
"wsgi.multithread": False,
|
||||
"wsgi.multiprocess": (cfg.workers > 1),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user