[Zope3-dev] Re: [Zope3-checkins] CVS: Zope3/src/zope/app/component - metaconfigure.py:1.16
Gary Poster
gary@zope.com
Mon, 04 Aug 2003 11:26:24 -0400
Hi Philipp. We actually have some legacy code that uses this. Could we
keep this in until we have a direct replacement?
Gary
Philipp von Weitershausen wrote:
> Update of /cvs-repository/Zope3/src/zope/app/component
> In directory cvs.zope.org:/tmp/cvs-serv21494/component
>
> Modified Files:
> metaconfigure.py
> Log Message:
> Remove the resolveInterface dead chicken. Its functionality will be
> replaced by Jim's upcoming Interface field. Then we'll have the XML schema
> interface stuff working again, too.
>
>
> === Zope3/src/zope/app/component/metaconfigure.py 1.15 => 1.16 ===
> --- Zope3/src/zope/app/component/metaconfigure.py:1.15 Sat Aug 2 22:13:08 2003
> +++ Zope3/src/zope/app/component/metaconfigure.py Mon Aug 4 11:07:54 2003
> @@ -336,11 +336,3 @@
> args = (Interfaces, 'provideInterface',
> type.__module__+'.'+type.__name__, type)
> )
> -
> -# XXX this will have to incorporated into
> -# zope.configuration.fields.GlobalObject
> -def resolveInterface(_context, id):
> - interface = interfaceService.queryInterface(id, None)
> - if interface is None:
> - interface = _context.resolve(id)
> - return interface
>
>
> _______________________________________________
> Zope3-Checkins mailing list
> Zope3-Checkins@zope.org
> http://mail.python.org/mailman/listinfo/zope3-checkins
>
>