summaryrefslogtreecommitdiff
path: root/repoze/bfg/scripting.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/scripting.py')
-rw-r--r--repoze/bfg/scripting.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/repoze/bfg/scripting.py b/repoze/bfg/scripting.py
index bf2423a8c..3e743524a 100644
--- a/repoze/bfg/scripting.py
+++ b/repoze/bfg/scripting.py
@@ -7,8 +7,9 @@ def get_root(app, request=None):
``closer`` returned is a callable (accepting no arguments) that
should be called when your scripting application is finished using
the root. If ``request`` is not None, it is used as the request
- passed to the BFG application root factory. A faux request is
- constructed and passed to the root factory if ``request`` is None."""
+ passed to the :mod:`repoze.bfg` application root factory. A
+ request is constructed and passed to the root factory if
+ ``request`` is None."""
registry = app.registry
if request is None:
request = Request.blank('/')