Skip to content

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 8983070 commit d29ebe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/grokcore/layout/meta.py
Expand Up @@ -5,7 +5,6 @@
from zope.publisher.interfaces.browser import IDefaultBrowserLayer

import grokcore.component
import grokcore.component.util
import martian


Expand Down Expand Up @@ -38,7 +37,7 @@ def execute(self, factory, config, context, layer, provides, **kw):
adapts = (layer, context)
config.action(
discriminator=('adapter', adapts, provides),
callable=grokcore.component.util.provideAdapter,
callable=grokcore.component..provideAdapter,
args=(factory, adapts, provides),
)
return True

0 comments on commit d29ebe3

Please sign in to comment.