summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2008-08-11 14:28:07 (GMT)
committerJesse Noller <jnoller@gmail.com>2008-08-11 14:28:07 (GMT)
commitf8d62d23e9b02c557b2bbe69f693fc14c2574281 (patch)
tree6aad58231071a7c116eb7e53fab733f4da69432e /Lib/multiprocessing
parentac014e9255e773e57b9c416229de996d566f8324 (diff)
downloadcpython-f8d62d23e9b02c557b2bbe69f693fc14c2574281.zip
cpython-f8d62d23e9b02c557b2bbe69f693fc14c2574281.tar.gz
cpython-f8d62d23e9b02c557b2bbe69f693fc14c2574281.tar.bz2
Remove the fqdn call for issue 3270
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/connection.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py
index 55172e0..9411c39 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