[Zope3-checkins] CVS: Zope3/src/zope/app/component - metaconfigure.py:1.16

Philipp von Weitershausen philikon at philikon.de
Mon Aug 4 12:08:29 EDT 2003


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




More information about the Zope3-Checkins mailing list