From ce92230bd35b863da396616b9a5d0a5a4b42d789 Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Sun, 1 Dec 2013 16:08:37 +0200 Subject: [PATCH] FileWrapper should inherit from object. --- gunicorn/http/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index feaf548a..74255bd0 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -27,7 +27,7 @@ NORMALIZE_SPACE = re.compile(r'(?:\r\n)?[ \t]+') log = logging.getLogger(__name__) -class FileWrapper: +class FileWrapper(object): def __init__(self, filelike, blksize=8192): self.filelike = filelike