changeset 6404:f08662abdf3f

merge with crew
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 29 Mar 2008 21:15:54 +0100
parents f615ece5fec3 (diff) d1cf40b596f8 (current diff)
children 1a726377c312 12377957948d
files
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Sat Mar 29 17:27:35 2008 +0100
+++ b/mercurial/hgweb/server.py	Sat Mar 29 21:15:54 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)