[Checkins] SVN: grokcore.rest/trunk/src/grokcore/rest/meta.py use grokcore.component api

Jan Wijbrand Kolman cvs-admin at zope.org
Tue May 1 12:44:31 UTC 2012


Log message for revision 125479:
  use grokcore.component api

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-05-01 12:44:12 UTC (rev 125478)
+++ grokcore.rest/trunk/src/grokcore/rest/meta.py	2012-05-01 12:44:28 UTC (rev 125479)
@@ -29,7 +29,6 @@
 import martian
 import grokcore.rest
 import grokcore.component
-import grokcore.component.util
 import grokcore.view
 import grokcore.security
 
@@ -68,7 +67,7 @@
         adapts = (context, layer)
         config.action(
             discriminator=('adapter', adapts, interface.Interface, name),
-            callable=grokcore.component.util.provideAdapter,
+            callable=grokcore.component.provideAdapter,
             args=(method_view, adapts, interface.Interface, name),
             )
         config.action(
@@ -118,7 +117,7 @@
 
         config.action(
             discriminator=('restprotocol', restskin),
-            callable=grokcore.component.util.provideInterface,
+            callable=grokcore.component.provideInterface,
             args=(restskin, interface, grokcore.rest.IRESTSkinType))
 
         return True



More information about the checkins mailing list