From f3bb0e1e1d2ae8ba77c44dee20178dff3dde0f9f Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Sun, 30 Nov 2014 20:54:13 -0800 Subject: [PATCH] Fix typo WSGIErrorsWraper -> WSGIErrorsWrapper --- gunicorn/http/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index 0495067e..fd545737 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -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),