From db2186f2cae3fd21e88b9f415afdc893e325dcc4 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Tue, 29 May 2012 18:04:00 -0500 Subject: [PATCH] Removed protocol stuff, it's not ready yet. --- ugly_hacks/santiago/protocols/https/controller.py | 2 +- ugly_hacks/santiago/santiago.py | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/ugly_hacks/santiago/protocols/https/controller.py b/ugly_hacks/santiago/protocols/https/controller.py index b94bf16de..79ed556a6 100644 --- a/ugly_hacks/santiago/protocols/https/controller.py +++ b/ugly_hacks/santiago/protocols/https/controller.py @@ -49,7 +49,7 @@ class Listener(SantiagoListener): def stop(self): """Shuts down the listener.""" - pass + cherrypy.engine.stop() @cherrypy.expose def index(self, **kwargs): diff --git a/ugly_hacks/santiago/santiago.py b/ugly_hacks/santiago/santiago.py index 95bc4a59d..50759eee0 100644 --- a/ugly_hacks/santiago/santiago.py +++ b/ugly_hacks/santiago/santiago.py @@ -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