Commit 04ca854b authored by Josiah Carlson's avatar Josiah Carlson

This fixes issue 4332 for Py3k.

parent 5eaf61f4
...@@ -614,6 +614,6 @@ if os.name == 'posix': ...@@ -614,6 +614,6 @@ if os.name == 'posix':
fcntl.fcntl(fd, fcntl.F_SETFL, flags) fcntl.fcntl(fd, fcntl.F_SETFL, flags)
def set_file(self, fd): def set_file(self, fd):
self._fileno = fd
self.socket = file_wrapper(fd) self.socket = file_wrapper(fd)
self._fileno = self.socket.fileno()
self.add_channel() self.add_channel()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment