Minor white space and ordering fixes for my CDO

This commit is contained in:
Paul J. Davis 2010-07-23 20:43:56 -04:00
parent eca6fad4ce
commit 93ad20e4fc

View File

@ -539,6 +539,21 @@ class DefaultProcName(Setting):
Internal setting that is adjusted for each type of application. Internal setting that is adjusted for each type of application.
""" """
class WhenReady(Setting):
name = "when_ready"
section = "Server Hooks"
validator = validate_callable(1)
type = "callable"
def def_start_server(server):
pass
def_start_server = staticmethod(def_start_server)
default = def_start_server
desc = """\
Called just after the server is started.
The callable needs to accept a single instance variable for the Arbiter.
"""
class Prefork(Setting): class Prefork(Setting):
name = "pre_fork" name = "pre_fork"
section = "Server Hooks" section = "Server Hooks"
@ -571,23 +586,6 @@ class Postfork(Setting):
new Worker. new Worker.
""" """
class WhenReady(Setting):
name = "when_ready"
section = "Server Hooks"
validator = validate_callable(1)
type = "callable"
def def_start_server(server):
pass
def_start_server = staticmethod(def_start_server)
default = def_start_server
desc = """\
Called just after the server is started.
The callable needs to accept a single instance variable for the Arbiter.
"""
class PreExec(Setting): class PreExec(Setting):
name = "pre_exec" name = "pre_exec"
section = "Server Hooks" section = "Server Hooks"
@ -603,7 +601,6 @@ class PreExec(Setting):
The callable needs to accept a single instance variable for the Arbiter. The callable needs to accept a single instance variable for the Arbiter.
""" """
class PreRequest(Setting): class PreRequest(Setting):
name = "pre_request" name = "pre_request"
section = "Server Hooks" section = "Server Hooks"
@ -620,7 +617,6 @@ class PreRequest(Setting):
the Request. the Request.
""" """
class PostRequest(Setting): class PostRequest(Setting):
name = "post_request" name = "post_request"
section = "Server Hooks" section = "Server Hooks"