Log message for revision 67603: use zope.component instead of zope.app.zapi.
Changed: U Products.Five/branches/publication-refactor2/browser/metaconfigure.py -=- Modified: Products.Five/branches/publication-refactor2/browser/metaconfigure.py =================================================================== --- Products.Five/branches/publication-refactor2/browser/metaconfigure.py 2006-04-25 18:51:30 UTC (rev 67602) +++ Products.Five/branches/publication-refactor2/browser/metaconfigure.py 2006-04-25 19:10:08 UTC (rev 67603) @@ -20,7 +20,7 @@ """ import os -from zope.app import zapi +from zope import component from zope.interface import Interface from zope.configuration.exceptions import ConfigurationError from zope.publisher.interfaces.browser import IBrowserRequest, \ @@ -193,7 +193,8 @@ if name in pages: return getattr(self, pages[name]) - view = zapi.queryView(self, name, request) + view = component.queryMultiAdapter((self, request), name, + default = None) if view is not None: return view.__of__(self) @@ -206,7 +207,8 @@ if name in pages: return getattr(self, pages[name]) - view = zapi.queryView(self, name, request) + view = component.queryMultiAdapter((self, request), name, + default = None) if view is not None: return view.__of__(self) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins