changeset 6403:f615ece5fec3

hgweb: remove dead code
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 29 Mar 2008 21:15:34 +0100
parents 3f0294536b24
children f08662abdf3f
files mercurial/hgweb/server.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Fri Mar 28 19:47:22 2008 +0100
+++ b/mercurial/hgweb/server.py	Sat Mar 29 21:15:34 2008 +0100
@@ -268,12 +268,7 @@
 
             self.addr, self.port = self.socket.getsockname()[0:2]
             self.prefix = prefix
-
             self.fqaddr = socket.getfqdn(address)
-            try:
-                socket.getaddrbyhost(self.fqaddr)
-            except:
-                fqaddr = address
 
     class IPv6HTTPServer(MercurialHTTPServer):
         address_family = getattr(socket, 'AF_INET6', None)