[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager - ServiceManager.py:1.8.6.6
Suresh Babu Eddala
sbabu@zeomega.com
Thu, 14 Nov 2002 09:15:39 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager
In directory cvs.zope.org:/tmp/cvs-serv17388
Modified Files:
Tag: Zope3-Bangalore-TTW-Branch
ServiceManager.py
Log Message:
Fixed line exceeding 80 char
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py 1.8.6.5 => 1.8.6.6 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py:1.8.6.5 Fri Nov 8 10:55:23 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py Thu Nov 14 09:15:39 2002
@@ -58,15 +58,10 @@
class ServiceManager(Persistent,
PersistentModuleRegistry):
-
- __implements__ = (IServiceManager, ISimpleReadContainer,
- PersistentModuleRegistry.__implements__)
-
__implements__ = (IServiceManager, ISimpleReadContainer,
PersistentModuleRegistry.__implements__,
INameResolver)
-
def __init__(self):
super(ServiceManager, self).__init__()
self.__bindings = {}
@@ -259,7 +254,8 @@
addService = ContextMethod(addService)
def unbindService(self, directive):
- "See Zope.App.OFS.Services.ServiceManager.IServiceManager.IServiceManager"
+ "See "
+ "Zope.App.OFS.Services.ServiceManager.IServiceManager.IServiceManager"
service = directive.getService(self) # must be before unwrapping self
self = removeAllProxies(self)
@@ -286,11 +282,14 @@
return self.__bindings[service_type]
def getBoundServiceTypes(self):
- "See Zope.App.OFS.Services.ServiceManager.IServiceManager.IServiceManager"
+ "See "
+ "Zope.App.OFS.Services.ServiceManager.IServiceManager.IServiceManager"
+
return self.__bindings.keys()
def getRegistrationState(self, directive, service_type):
"See Zope.ComponentArchitecture.IServiceService.IServiceService"
+
directives = self.__bindings[service_type]
if directives:
if directives[0] == directive: