[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - service.py:1.3

Steve Alexander steve@cat-box.net
Tue, 31 Dec 2002 08:14:32 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv29069/src/zope/app/browser/services

Modified Files:
	service.py 
Log Message:
tidied up imports


=== Zope3/src/zope/app/browser/services/service.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/service.py:1.2	Wed Dec 25 09:12:36 2002
+++ Zope3/src/zope/app/browser/services/service.py	Tue Dec 31 08:14:31 2002
@@ -17,7 +17,16 @@
 """
 
 from zope.app.browser.container.adding import Adding as ContentAdding
+from zope.component import getView, getAdapter
+from zope.proxy.context import ContextWrapper
+from zope.app.interfaces.container import IZopeContainer
+from zope.component import getServiceManager
+from zope.publisher.browser import BrowserView
+from zope.app.services.service import ServiceConfiguration
+from zope.app.interfaces.services.configuration import IConfiguration
+from zope.app.form.utility import setUpWidgets, getWidgetsDataForContent
 
+__metaclass__ = type
 
 class ComponentAdding(ContentAdding):
     """Adding component for components
@@ -42,16 +51,6 @@
 
     menu_id = "add_configuration"
 
-
-"""
-$Id$
-"""
-
-from zope.publisher.browser import BrowserView
-from zope.component import getView, getAdapter
-from zope.proxy.context import ContextWrapper
-from zope.app.interfaces.container import IZopeContainer
-
 class EditConfiguration(BrowserView):
     """Adding component for service containers
     """
@@ -113,25 +112,6 @@
             view.setPrefix('config'+str(name))
             r.append({'key': name, 'view': view})
         return r
-
-__doc__ = EditConfiguration.__doc__ + __doc__
-
-
-
-"""XXX short summary goes here.
-
-XXX longer description goes here.
-
-$Id$
-"""
-__metaclass__ = type
-
-from zope.component import getServiceManager
-from zope.publisher.browser import BrowserView
-from zope.app.services.service \
-     import ServiceConfiguration
-from zope.app.interfaces.services.configuration import IConfiguration
-from zope.app.form.utility import setUpWidgets, getWidgetsDataForContent
 
 class AddServiceConfiguration(BrowserView):