Log message for revision 67592:
  use new registration API
  

Changed:
  U   Products.Five/branches/philikon-local-components/form/metaconfigure.py

-=-
Modified: Products.Five/branches/philikon-local-components/form/metaconfigure.py
===================================================================
--- Products.Five/branches/philikon-local-components/form/metaconfigure.py      
2006-04-25 10:02:07 UTC (rev 67591)
+++ Products.Five/branches/philikon-local-components/form/metaconfigure.py      
2006-04-25 10:10:07 UTC (rev 67592)
@@ -55,7 +55,7 @@
         layer = IDefaultBrowserLayer
 
     s = zope.component.getGlobalSiteManager()
-    s.provideAdapter((for_, layer), Interface, name, class_)
+    s.registerAdapter(class_, (for_, layer), Interface, name)
 
     # Reminder: the permission we got has already been processed by
     # BaseFormDirective, that means that zope.Public has been
@@ -118,7 +118,7 @@
         layer = IDefaultBrowserLayer
 
     s = zope.component.getGlobalSiteManager()
-    s.provideAdapter((for_, layer), Interface, name, class_)
+    s.registerAdapter(class_, (for_, layer), Interface, name)
 
     # Reminder: the permission we got has already been processed by
     # BaseFormDirective, that means that zope.Public has been

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to