author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Sat, 29 Mar 2008 21:15:34 +0100 | |
changeset 6403 | f615ece5fec3 |
parent 6395 | 3f0294536b24 |
child 6404 | f08662abdf3f |
--- 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)