From b7a064044dca37c62e5f2bdb38115eb2de909d5a Mon Sep 17 00:00:00 2001 From: Maximillian Dornseif Date: Thu, 25 Jan 2018 08:59:58 +0100 Subject: [PATCH] Make RequestHandler work with Multi-Inheritance RequestHandler stops the `__init__` - call chain which keeps initialisation in MixIns from being called. --- webapp2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp2.py b/webapp2.py index e48e7bf..90ffd3c 100755 --- a/webapp2.py +++ b/webapp2.py @@ -572,6 +572,8 @@ def __init__(self, request=None, response=None): A :class:`Response` instance. """ self.initialize(request, response) + super(RequestHandler, self).__init__() + def initialize(self, request, response): """Initializes this request handler with the given WSGI application,