From f8d62d23e9b02c557b2bbe69f693fc14c2574281 Mon Sep 17 00:00:00 2001 From: Jesse Noller Date: Mon, 11 Aug 2008 14:28:07 +0000 Subject: [PATCH] Remove the fqdn call for issue 3270 --- Lib/multiprocessing/connection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 55172e05739..9411c39684a 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