[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser - AddServiceDirective.py:1.2
Steve Alexander
steve@cat-box.net
Mon, 18 Nov 2002 08:26:37 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv32346/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser
Modified Files:
AddServiceDirective.py
Log Message:
minor source reformatting.
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/AddServiceDirective.py 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/AddServiceDirective.py:1.1 Thu Jul 11 14:21:32 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/AddServiceDirective.py Mon Nov 18 08:26:36 2002
@@ -26,7 +26,6 @@
class AddServiceDirective(BrowserView):
-
def services(self):
service = getServiceManager(self.context.context)
definitions = service.getServiceDefinitions()
@@ -37,8 +36,7 @@
service = getServiceManager(self.context.context)
type = service.getInterfaceFor(service_type)
return [info['path']
- for info in
- service.queryComponent(type=type)
+ for info in service.queryComponent(type=type)
]
def action(self, service_type, component_path, status=""):