summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-27 08:51:44 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-27 08:51:44 +0000
commit2cfb0214a9c127a5fe031c4aaffa46852238da7e (patch)
tree94b4861dc4ef2435e168d5d1a19b332ce2d71892 /repoze
parent6d4beb3629a62ff9201bdb424f564bf68c4c6bbd (diff)
downloadpyramid-2cfb0214a9c127a5fe031c4aaffa46852238da7e.tar.gz
pyramid-2cfb0214a9c127a5fe031c4aaffa46852238da7e.tar.bz2
pyramid-2cfb0214a9c127a5fe031c4aaffa46852238da7e.zip
Terminology.
Diffstat (limited to 'repoze')
-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