mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Removed protocol stuff, it's not ready yet.
This commit is contained in:
parent
975f3e747c
commit
db2186f2ca
@ -49,7 +49,7 @@ class Listener(SantiagoListener):
|
||||
|
||||
def stop(self):
|
||||
"""Shuts down the listener."""
|
||||
pass
|
||||
cherrypy.engine.stop()
|
||||
|
||||
@cherrypy.expose
|
||||
def index(self, **kwargs):
|
||||
|
||||
@ -177,13 +177,6 @@ class Santiago(object):
|
||||
When this has finished, the Santiago will be ready to go.
|
||||
|
||||
"""
|
||||
debug_log("Setting up protocols.")
|
||||
|
||||
find_protocol = (lambda protocol: sys.modules[
|
||||
self.__class__.CONTROLLER_MODULE.format(protocol)])
|
||||
|
||||
[find_protocol(protocol).setup(None) for protocol in self.protocols]
|
||||
|
||||
debug_log("Starting connectors.")
|
||||
|
||||
for connector in (list(self.listeners.itervalues()) +
|
||||
@ -195,10 +188,6 @@ class Santiago(object):
|
||||
# for monitor in list(self.monitors.itervalues()):
|
||||
# monitor.start()
|
||||
|
||||
debug_log("Starting protocols.")
|
||||
|
||||
[find_protocol(protocol).start() for protocol in self.protocols]
|
||||
|
||||
debug_log("Santiago started!")
|
||||
|
||||
count = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user