Skip to content

Commit

Permalink
get rid of incorrect usage of threadlocals during configuration in ve…
Browse files Browse the repository at this point in the history
…nusian example
  • Loading branch information
mcdonc committed Jan 7, 2011
1 parent fd031f9 commit 780b6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/narr/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 780b6f1

Please sign in to comment.