1631
1632
def server_activate(self):
1633
1634
return socketserver.TCPServer.server_activate(self)
1637
1640
# Call "handle_ipc" for both data and EOF events
1638
1641
gobject.io_add_watch(parent_pipe.fileno(),
1639
1642
gobject.IO_IN | gobject.IO_HUP,
1640
1643
functools.partial(self.handle_ipc,
1644
1648
def handle_ipc(self, source, condition, parent_pipe=None,
1647
1651
gobject.IO_IN: "IN", # There is data to read.
1648
1652
gobject.IO_OUT: "OUT", # Data can be written (without