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