[Checkins] SVN: grokcore.rest/trunk/src/grokcore/rest/meta.py using functions for looking up and choosing local-site-manager when registring components
Christian Klinger
cvs-admin at zope.org
Sun Apr 29 14:03:16 UTC 2012
Log message for revision 125385:
using functions for looking up and choosing local-site-manager when registring components
Changed:
U grokcore.rest/trunk/src/grokcore/rest/meta.py
-=-
Modified: grokcore.rest/trunk/src/grokcore/rest/meta.py
===================================================================
--- grokcore.rest/trunk/src/grokcore/rest/meta.py 2012-04-29 14:02:45 UTC (rev 125384)
+++ grokcore.rest/trunk/src/grokcore/rest/meta.py 2012-04-29 14:03:13 UTC (rev 125385)
@@ -29,6 +29,7 @@
import martian
import grokcore.rest
import grokcore.component
+import grokcore.component.util
import grokcore.view
import grokcore.security
@@ -67,7 +68,7 @@
adapts = (context, layer)
config.action(
discriminator=('adapter', adapts, interface.Interface, name),
- callable=component.provideAdapter,
+ callable=grokcore.component.util.provideAdapter,
args=(method_view, adapts, interface.Interface, name),
)
config.action(
@@ -117,7 +118,7 @@
config.action(
discriminator=('restprotocol', restskin),
- callable=component.interface.provideInterface,
+ callable=grokcore.component.util.provideInterface,
args=(restskin, interface, grokcore.rest.IRESTSkinType))
return True
More information about the checkins
mailing list