summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoze/bfg/threadlocal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/threadlocal.py b/repoze/bfg/threadlocal.py
index cfd3e78ba..7e0de86ca 100644
--- a/repoze/bfg/threadlocal.py
+++ b/repoze/bfg/threadlocal.py
@@ -115,8 +115,8 @@ def get_current_request():
return manager.get()['request']
def get_current_registry(context=None): # context required by getSiteManager API
- """Return the currently active component registry or the global
- component registry if no request is currently active.
+ """Return the currently active :term:`application registry` or the
+ global application registry if no request is currently active.
This function should be used *extremely sparingly*, usually only
in unit testing code. it's almost always usually a mistake to use