summaryrefslogtreecommitdiff
path: root/repoze/bfg/router.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-16 21:32:56 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-16 21:32:56 +0000
commitf082cab69f7dd1c42e02748c400d0c7076e9489e (patch)
tree7e59704f7e8638094724c7cc7a2b68a2b365c7f7 /repoze/bfg/router.py
parent9217131a2c0144b9df3b96a60c2b157a7282ebf1 (diff)
downloadpyramid-f082cab69f7dd1c42e02748c400d0c7076e9489e.tar.gz
pyramid-f082cab69f7dd1c42e02748c400d0c7076e9489e.tar.bz2
pyramid-f082cab69f7dd1c42e02748c400d0c7076e9489e.zip
Zero in on making docs render properly.
Diffstat (limited to 'repoze/bfg/router.py')
-rw-r--r--repoze/bfg/router.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/router.py b/repoze/bfg/router.py
index e9e0f175a..9dd590fc0 100644
--- a/repoze/bfg/router.py
+++ b/repoze/bfg/router.py
@@ -58,7 +58,8 @@ def make_app(root_policy, package=None, filename='configure.zcml'):
application. 'root_policy' must be a callable that accepts an
environ and returns a graph root object. 'package' is the
dotted-Python-path packagename of the application, 'filename' is
- the ZCML file that should be parsed to create the view registry."""
+ the ZCML file (relative to the package path) that should be parsed
+ to create the view registry."""
from repoze.bfg.registry import makeRegistry
registry = makeRegistry(filename, package)
return Router(root_policy, registry)