From 4a3a68da7707cdb3c1dfaf61a3fb8a29644d431d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 5 Jan 2010 19:38:23 +0000 Subject: Normalize. --- docs/narr/MyProject/myproject/run.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/narr') diff --git a/docs/narr/MyProject/myproject/run.py b/docs/narr/MyProject/myproject/run.py index 6a3671c1e..ce1c7a81e 100644 --- a/docs/narr/MyProject/myproject/run.py +++ b/docs/narr/MyProject/myproject/run.py @@ -2,9 +2,11 @@ from repoze.bfg.configuration import Configurator from myproject.models import get_root def app(global_config, **settings): - """ This function returns a repoze.bfg.router.Router object. It - is usually called by the PasteDeploy framework during ``paster - serve``""" + """ This function returns a WSGI application. + + It is usually called by the PasteDeploy framework during + ``paster serve``. + """ config = Configurator(root_factory=get_root, settings=settings) config.begin() zcml_file = settings.get('configure_zcml', 'configure.zcml') -- cgit v1.2.3