MCPcopy
hub / github.com/cherrypy/cherrypy / subscribe

Method subscribe

cherrypy/__init__.py:141–146  ·  view source on GitHub ↗

Add the handlers based on the platform.

(self)

Source from the content-addressed store, hash-verified

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
149engine.signals = _HandleSignalsPlugin(engine)

Callers 2

__init__.pyFile · 0.45
quickstartFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected