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

Commit

Permalink
use grokcore.component api
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed May 1, 2012
1 parent be868c7 commit 12ae919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grokcore/json/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"""JSON Grokking elements.
"""
import martian
import grokcore.component
from grokcore.component import context
from grokcore.component import util
from grokcore.security import require
from grokcore.security import require
from grokcore.json import JSON
from grokcore.view import layer, make_checker
from zope.interface import Interface
Expand Down Expand Up @@ -55,7 +55,7 @@ def execute(

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

config.action(
Expand Down

0 comments on commit 12ae919

Please sign in to comment.