[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - view.py:1.6
R. David Murray
bitz@bitdance.com
Mon, 27 Jan 2003 21:21:43 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv4618
Modified Files:
view.py
Log Message:
Eliminate unused imports, add XXX comment for an import used only
by the configure.zcml and not the module itself.
=== Zope3/src/zope/app/browser/services/view.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/services/view.py:1.5 Mon Jan 27 21:09:19 2003
+++ Zope3/src/zope/app/browser/services/view.py Mon Jan 27 21:21:40 2003
@@ -34,17 +34,13 @@
from zope.proxy.context import ContextWrapper
from zope.publisher.browser import BrowserView
-from zope.app.form.utility import setUpWidgets, getWidgetsData
-from zope.app.form.utility import getWidgetsDataForContent, fieldNames
-from zope.app.interfaces.services.interfaces import IViewConfiguration
-from zope.app.interfaces.services.interfaces import IViewConfigurationInfo
-from zope.app.interfaces.services.interfaces import IPageConfiguration
-from zope.app.interfaces.services.interfaces import IPageConfiguration
-from zope.app.interfaces.services.configuration import IConfiguration
-from zope.app.event import publish
-from zope.app.event.objectevent import ObjectCreatedEvent
-from zope.app.services.view import ViewConfiguration, PageConfiguration
+from zope.app.form.utility import setUpWidgets
from zope.app.component.interfacefield import InterfaceField
+# XXX These are not used in this module, but are referenced in configure.zcml.
+# either configure.zcml should be fixed, or a comment should replace
+# this one to explain why configure.zcml is importing these two names
+# from here rather than from where they are defined.
+from zope.app.services.view import ViewConfiguration, PageConfiguration
class IViewSearch(Interface):