]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove an useless line 1471/head
authorLeon Chan <tinyproxy@gmail.com>
Mon, 27 Jul 2015 08:19:21 +0000 (16:19 +0800)
committerLeon Chan <tinyproxy@gmail.com>
Mon, 27 Jul 2015 08:19:21 +0000 (16:19 +0800)
tornado/httpserver.py

index d4c990caa329b9db284f14995d2286e96e5d3d80..71b89ded79eeaa357600e581933e3ad0fbea42dd 100644 (file)
@@ -182,7 +182,6 @@ class HTTPServer(TCPServer, httputil.HTTPServerConnectionDelegate):
 class _HTTPRequestContext(object):
     def __init__(self, stream, address, protocol):
         self.address = address
-        self.protocol = protocol
         # Save the socket's address family now so we know how to
         # interpret self.address even after the stream is closed
         # and its socket attribute replaced with None.