Loading django/core/servers/basehttp.py +2 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,8 @@ class WSGIServer(simple_server.WSGIServer, object): super(WSGIServer, self).handle_error(request, client_address) class ServerHandler(simple_server.ServerHandler): # Inheriting from object required on Python 2. class ServerHandler(simple_server.ServerHandler, object): def handle_error(self): # Ignore broken pipe errors, otherwise pass on if not is_broken_pipe_error(): Loading Loading
django/core/servers/basehttp.py +2 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,8 @@ class WSGIServer(simple_server.WSGIServer, object): super(WSGIServer, self).handle_error(request, client_address) class ServerHandler(simple_server.ServerHandler): # Inheriting from object required on Python 2. class ServerHandler(simple_server.ServerHandler, object): def handle_error(self): # Ignore broken pipe errors, otherwise pass on if not is_broken_pipe_error(): Loading