From: Jesse Noller Date: Mon, 11 Aug 2008 14:28:07 +0000 (+0000) Subject: Remove the fqdn call for issue 3270 X-Git-Tag: v2.6b3~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8d62d23e9b02c557b2bbe69f693fc14c2574281;p=thirdparty%2FPython%2Fcpython.git Remove the fqdn call for issue 3270 --- diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 55172e05739f..9411c39684a8 100644 --- a/Lib/multiprocessing/connection.py +++ b/Lib/multiprocessing/connection.py @@ -215,10 +215,7 @@ class SocketListener(object): self._socket = socket.socket(getattr(socket, family)) self._socket.bind(address) self._socket.listen(backlog) - address = self._socket.getsockname() - if type(address) is tuple: - address = (socket.getfqdn(address[0]),) + address[1:] - self._address = address + self._address = self._socket.getsockname() self._family = family self._last_accepted = None