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

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Mar 3 12:07:50 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv17205/src/zope/app/component

Modified Files:
	metaconfigure.py 
Log Message:


Remove unused helper method. It was promised to go away soon anyways. It was
not used anywhere in the code anyways. Also, one should use the interface
service instead.


=== Zope3/src/zope/app/component/metaconfigure.py 1.25 => 1.26 ===
--- Zope3/src/zope/app/component/metaconfigure.py:1.25	Fri Feb 13 17:27:33 2004
+++ Zope3/src/zope/app/component/metaconfigure.py	Wed Mar  3 12:07:49 2004
@@ -390,10 +390,3 @@
         callable = handler,
         args = (Presentation, 'defineUsage', name)
         )
-
-#XXX you will be terminated soon
-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