Removed protocol stuff, it's not ready yet.

This commit is contained in:
Nick Daly 2012-05-29 18:04:00 -05:00
parent 975f3e747c
commit db2186f2ca
2 changed files with 1 additions and 12 deletions

View File

@ -49,7 +49,7 @@ class Listener(SantiagoListener):
def stop(self):
"""Shuts down the listener."""
pass
cherrypy.engine.stop()
@cherrypy.expose
def index(self, **kwargs):

View File

@ -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