[Zope3-checkins] SVN: Zope3/branches/roger-contentprovider/src/zope/contentprovider/ contentprovider OK now

Helmut Merz helmutm at cy55.de
Thu Oct 6 16:51:35 EDT 2005


Log message for revision 38834:
  contentprovider OK now

Changed:
  U   Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt
  U   Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py

-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt	2005-10-06 20:47:31 UTC (rev 38833)
+++ Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt	2005-10-06 20:51:34 UTC (rev 38834)
@@ -500,7 +500,8 @@
 
   >>> zope.component.provideAdapter(
   ...     ContentsContentProviderManager,
-  ...     (zope.interface.Interface, IDefaultBrowserLayer, IBrowserView, ILeftColumn),
+  ...     (zope.interface.Interface, IDefaultBrowserLayer, IBrowserView,
+  ...      IObjectInfoColumn),
   ...     interfaces.IContentProviderManager)
 
   >>> view = zope.component.getMultiAdapter(

Modified: Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py	2005-10-06 20:47:31 UTC (rev 38833)
+++ Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py	2005-10-06 20:51:34 UTC (rev 38834)
@@ -65,7 +65,7 @@
         lookup = ISiteManager(context).adapters.lookup
         cpManagerClass = lookup(map(providedBy, objs)+[region], iface, name='')
         if cpManagerClass is not None:
-            cpManager = cpManager(context, request, view, region)
+            cpManager = cpManagerClass(context, request, view, region)
             
         if cpManager is None:
             cpManager = manager.DefaultContentProviderManager(



More information about the Zope3-Checkins mailing list