Skip to content

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 6d771ce commit ba40a49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/grokcore/security/meta.py
Expand Up @@ -16,7 +16,6 @@
import martian
import grokcore.component
import grokcore.security
import zope.component
from martian.error import GrokError
from zope.security.interfaces import IPermission

Expand All @@ -43,7 +42,7 @@ def execute(self, factory, config, name, title, description, **kw):

config.action(
discriminator=('utility', IPermission, name),
callable=zope.component.provideUtility,
callable=grokcore.component.util.provideUtility,
args=(permission, IPermission, name),
order=-1 # need to do this early in the process
)
Expand Down

0 comments on commit ba40a49

Please sign in to comment.