Permalink
Browse files

Omitting super(...).__init__() causes python, when RequestHandler is …

…extended with multiple class inheritance, to not execute all __init__ methods of all super classes.
  • Loading branch information...
1 parent b5288cf commit 68b5808eaaa339fa0ac04c10ee3604c9a6a9b499 @MartinMartimeo MartinMartimeo committed Jul 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tornado/web.py
View
@@ -105,6 +105,8 @@ class RequestHandler(object):
_template_loader_lock = threading.Lock()
def __init__(self, application, request, **kwargs):
+ super(RequestHandler, self).__init__()
+
self.application = application
self.request = request
self._headers_written = False

0 comments on commit 68b5808

Please sign in to comment.