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