issue #155: core: remove one duplicate set_cloexec().

This commit is contained in:
David Wilson 2018-03-25 12:37:11 +05:45
parent cb71ce94c4
commit 80642ed9ec
1 changed files with 0 additions and 1 deletions

View File

@ -1073,7 +1073,6 @@ class IoLogger(BasicStream):
self._log = logging.getLogger(name)
self._rsock, self._wsock = socket.socketpair()
os.dup2(self._wsock.fileno(), dest_fd)
set_cloexec(self._rsock.fileno())
set_cloexec(self._wsock.fileno())
self.receive_side = Side(self, self._rsock.fileno())