[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager - IServiceConfiguration.py:1.3
Florent Guillaume
fg@nuxeo.com
Tue, 3 Dec 2002 13:15:31 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager
In directory cvs.zope.org:/tmp/cvs-serv16450
Modified Files:
IServiceConfiguration.py
Log Message:
Removed unused argument from the interface.
Why are there no interface tests?
I'd have put one, but Interface.Verify.verifyClass complains because
some attributes are defined only at __init__ time in the instance, and
verifyObject doesn't realize that ConfigurationStatusProperty is an
attribute (hasattr(ob, 'status') is false). So I'm leaving that to more
competent people :-)
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/IServiceConfiguration.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/IServiceConfiguration.py:1.2 Sat Nov 30 13:39:16 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/IServiceConfiguration.py Tue Dec 3 13:15:30 2002
@@ -30,7 +30,7 @@
componentPath = Attribute("The physical path to the component")
- def getService(service_manager):
+ def getService():
"""Return the service component named in the directive.
"""