multiprocessing/connection.py patch to remove fqdn oddness for issue 3270

This commit is contained in:
Jesse Noller 2008-07-15 13:47:33 +00:00
parent d0c841243c
commit 9ace15ca25
1 changed files with 0 additions and 4 deletions

View File

@ -215,10 +215,6 @@ class SocketListener(object):
self._socket = socket.socket(getattr(socket, family)) self._socket = socket.socket(getattr(socket, family))
self._socket.bind(address) self._socket.bind(address)
self._socket.listen(backlog) self._socket.listen(backlog)
address = self._socket.getsockname()
if type(address) is tuple:
address = (socket.getfqdn(address[0]),) + address[1:]
self._address = address
self._family = family self._family = family
self._last_accepted = None self._last_accepted = None