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