From ad0b22d730f150fb95c6a0d4a78a9c7a694d380a Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 11 Feb 2017 10:59:57 +0100 Subject: [PATCH] [1.11.x] Removed WSGIServer.server_bind() identical to parent version The method customization was removed in 2ca00faa9137. Backport of d4b00c5c24b72f7b0f22f1f9a69c48fc11bf4ab8 from master. --- django/core/servers/basehttp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/core/servers/basehttp.py b/django/core/servers/basehttp.py index 3928d8c3ff..82f8cf8fa0 100644 --- a/django/core/servers/basehttp.py +++ b/django/core/servers/basehttp.py @@ -73,11 +73,6 @@ class WSGIServer(simple_server.WSGIServer, object): self.allow_reuse_address = kwargs.pop('allow_reuse_address', True) super(WSGIServer, self).__init__(*args, **kwargs) - def server_bind(self): - """Override server_bind to store the server name.""" - super(WSGIServer, self).server_bind() - self.setup_environ() - def handle_error(self, request, client_address): if is_broken_pipe_error(): logger.info("- Broken pipe from %s\n", client_address)