]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Omitting super(...).__init__() causes python, when RequestHandler is extended with... 569/head
authorMartinMartimeo <martin.martimeo@googlemail.com>
Sat, 21 Jul 2012 19:55:38 +0000 (22:55 +0300)
committerMartinMartimeo <martin.martimeo@googlemail.com>
Sat, 21 Jul 2012 19:55:38 +0000 (22:55 +0300)
tornado/web.py

index 99c6858d1a1b7320e6c367bccf14d49ddca7443b..323436f8b8cc6e30253998a423508282e33df1d7 100644 (file)
@@ -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