Skip to content

Commit

Permalink
use the correct provideAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Apr 29, 2012
1 parent 81a4ed5 commit d6d7dad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/grokcore/annotation/meta.py
Expand Up @@ -20,9 +20,8 @@
import martian
from martian import util

import grokcore.component.util
import grokcore.annotation
from grokcore.component import util


def default_annotation_provides(factory, module, **data):
base_interfaces = interface.implementedBy(grokcore.annotation.Annotation)
Expand Down Expand Up @@ -64,7 +63,7 @@ def getAnnotation(context):

config.action(
discriminator=('adapter', adapter_context, provides, ''),
callable=uti.provideAdapter,
callable=grokcore.component.util.provideAdapter,
args=(getAnnotation,),
)
return True
Expand Down

0 comments on commit d6d7dad

Please sign in to comment.