[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/servicemodule -
__init__.py:1.4
Suresh Babu Eddala
sbabu at zeomega.com
Fri Mar 5 10:46:26 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/apidoc/servicemodule
In directory cvs.zope.org:/tmp/cvs-serv10025/src/zope/app/apidoc/servicemodule
Modified Files:
__init__.py
Log Message:
interface service name is removed
=== Zope3/src/zope/app/apidoc/servicemodule/__init__.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/apidoc/servicemodule/__init__.py:1.3 Wed Mar 3 05:38:31 2004
+++ Zope3/src/zope/app/apidoc/servicemodule/__init__.py Fri Mar 5 10:46:25 2004
@@ -49,8 +49,8 @@
>>> module = ServiceModule()
- >>> module.get('Interfaces').__name__
- 'Interfaces'
+ >>> module.get('Utilities').__name__
+ 'Utilities'
>>> module.get('foo') is None
True
@@ -59,7 +59,7 @@
Adapters
EventPublication
Factories
- Interfaces
+ Presentation
>>> setup.tearDown()
"""
@@ -92,6 +92,7 @@
"""See zope.app.container.interfaces.IReadContainer"""
service = zapi.getService(self, 'Services')
items = service.getServiceDefinitions()
+
for name, iface in items:
if name == key:
try:
More information about the Zope3-Checkins
mailing list