diff options
| author | Michael Merickel <michael@merickel.org> | 2013-03-12 13:01:38 -0700 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-03-12 13:01:38 -0700 |
| commit | 61b97ebf39b2f2681a0d72633f32bce9338b2257 (patch) | |
| tree | 5813039968517bfba54beb2d6828e87da80d2231 | |
| parent | eb3c78662bb385f0c88209781dd2e99e6d73e8c2 (diff) | |
| parent | 859ff0acacf4cc843227caf86e6ef1cc55aa5713 (diff) | |
| download | pyramid-61b97ebf39b2f2681a0d72633f32bce9338b2257.tar.gz pyramid-61b97ebf39b2f2681a0d72633f32bce9338b2257.tar.bz2 pyramid-61b97ebf39b2f2681a0d72633f32bce9338b2257.zip | |
Merge pull request #907 from tshepang/patch-3
capitalize
| -rw-r--r-- | pyramid/threadlocal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/threadlocal.py b/pyramid/threadlocal.py index d99b0b734..e56f15336 100644 --- a/pyramid/threadlocal.py +++ b/pyramid/threadlocal.py @@ -52,7 +52,7 @@ def get_current_registry(context=None): # context required by getSiteManager API 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 + in unit testing code. It's almost always usually a mistake to use ``get_current_registry`` outside a testing context because its usage makes it possible to write code that can be neither easily tested nor scripted. |
