Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
using functions for looking up and choosing local-site-manager when r…
Browse files Browse the repository at this point in the history
…egistring components
  • Loading branch information
goschtl committed Apr 29, 2012
1 parent 53d088e commit be868c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grokcore/json/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"""
import martian
from grokcore.component import context
from grokcore.component import util
from grokcore.security import require
from grokcore.json import JSON
from grokcore.view import layer, make_checker
from zope.component import provideAdapter
from zope.interface import Interface
from zope.publisher.interfaces.browser import IDefaultBrowserLayer

Expand Down Expand Up @@ -55,7 +55,7 @@ def execute(

config.action(
discriminator=('adapter', adapts, Interface, name),
callable=provideAdapter,
callable=util.provideAdapter,
args=(method_view, adapts, Interface, name))

config.action(
Expand Down

0 comments on commit be868c7

Please sign in to comment.