Commit 10993ed1 authored by Ulysse Beaugnon's avatar Ulysse Beaugnon

More precise message in the basehttpserver (libxmlrpc) fix

parent 2e7cac36
......@@ -13,7 +13,7 @@ import BaseHTTPServer
def not_insane_address_string(self):
host, port = self.client_address[:2]
return '%s (no getfqdn)' % host # used to call: socket.getfqdn(host)
return '%s (reverse DNS disabled)' % host # used to call: socket.getfqdn(host)
BaseHTTPServer.BaseHTTPRequestHandler.address_string = not_insane_address_string
# end of the fix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment