diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-06 20:47:49 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-06 20:47:49 -0500 |
| commit | 780b6f1937b12ebaf99147ed996f224dc169fc9f (patch) | |
| tree | a4c5a89d26e1ce28b8c716e7a0ecec374e845902 /docs | |
| parent | fd031f966f896eebb611aa4bd77aef4684ce9357 (diff) | |
| download | pyramid-780b6f1937b12ebaf99147ed996f224dc169fc9f.tar.gz pyramid-780b6f1937b12ebaf99147ed996f224dc169fc9f.tar.bz2 pyramid-780b6f1937b12ebaf99147ed996f224dc169fc9f.zip | |
get rid of incorrect usage of threadlocals during configuration in venusian example
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/hooks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 2917b5254..e30313d5c 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -581,7 +581,7 @@ follows: self.path = path def register(self, scanner, name, wrapped): - registry = get_current_registry() + registry = scanner.config.registry registry.getUtility(IMyUtility).register( self.path, wrapped ) |
