Add the handlers based on the platform.
(self)
| 139 | self.bus = bus |
| 140 | |
| 141 | def subscribe(self): |
| 142 | """Add the handlers based on the platform.""" |
| 143 | if hasattr(self.bus, 'signal_handler'): |
| 144 | self.bus.signal_handler.subscribe() |
| 145 | if hasattr(self.bus, 'console_control_handler'): |
| 146 | self.bus.console_control_handler.subscribe() |
| 147 | |
| 148 | |
| 149 | engine.signals = _HandleSignalsPlugin(engine) |
no outgoing calls
no test coverage detected