[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow/stateful - content_filter.py:1.2 contentworkflow.py:1.2 definition.py:1.3 instance.py:1.5
Jim Fulton
jim@zope.com
Tue, 3 Jun 2003 18:46:49 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv6144/src/zope/app/browser/workflow/stateful
Modified Files:
content_filter.py contentworkflow.py definition.py instance.py
Log Message:
After cleaning up placefull test setup (see earlier checkins)
cleaned up unneeded imports in test modules (and some other modules)
based on the results of running Martijn Faassen's importchecker tool.
=== Zope3/src/zope/app/browser/workflow/stateful/content_filter.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/content_filter.py:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/content_filter.py Tue Jun 3 18:46:18 2003
@@ -17,12 +17,10 @@
"""
__metaclass__ = type
-from zope.component import getAdapter, queryAdapter, getService
-from zope.app.services.servicenames import Workflows
+from zope.component import queryAdapter
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.app.interfaces.workflow import IProcessInstanceContainerAdaptable
from zope.app.interfaces.workflow import IProcessInstanceContainer
-from zope.app.interfaces.workflow.stateful import IStatefulProcessInstance
from zope.app.browser.container.contents import Contents
class FilterList(Contents):
=== Zope3/src/zope/app/browser/workflow/stateful/contentworkflow.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/contentworkflow.py:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/contentworkflow.py Tue Jun 3 18:46:18 2003
@@ -17,10 +17,7 @@
"""
__metaclass__ = type
-from zope.component import getServiceManager
from zope.publisher.browser import BrowserView
-from zope.app.form.utility import setUpWidgets, getWidgetsDataForContent
-from zope.app.interfaces.workflow.stateful import IContentWorkflowsUtility
class ContentWorkflowsUtilityView(BrowserView):
=== Zope3/src/zope/app/browser/workflow/stateful/definition.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/workflow/stateful/definition.py:1.2 Wed May 28 11:46:03 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/definition.py Tue Jun 3 18:46:18 2003
@@ -18,15 +18,10 @@
__metaclass__ = type
from zope.proxy import removeAllProxies
-from zope.component import getServiceManager
from zope.publisher.browser import BrowserView
from zope.app.browser.container.adding import Adding
-from zope.app.form.utility import setUpWidgets, getWidgetsDataForContent
-from zope.app.interfaces.workflow.stateful import IStatefulProcessDefinition
-
-from zope.app.workflow.stateful.definition import State, Transition
-
from zope.app.browser.form.submit import Update
+from zope.app.workflow.stateful.definition import State, Transition
class StatesContainerAdding(Adding):
=== Zope3/src/zope/app/browser/workflow/stateful/instance.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/workflow/stateful/instance.py:1.4 Wed May 28 11:46:03 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/instance.py Tue Jun 3 18:46:18 2003
@@ -17,18 +17,15 @@
"""
__metaclass__ = type
-from zope.schema import getFieldNames
-from zope.component import queryView, queryAdapter, getAdapter, getService
-from zope.app.services.servicenames import Workflows
-from zope.publisher.browser import BrowserView
-from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
-
-from zope.app.interfaces.workflow import IProcessInstanceContainerAdaptable
-from zope.app.interfaces.workflow import IProcessInstanceContainer
-from zope.app.interfaces.workflow.stateful import IStatefulProcessInstance
from zope.app.interfaces.dublincore import IZopeDublinCore
-from zope.proxy import removeAllProxies
+from zope.app.interfaces.workflow import IProcessInstanceContainer
+from zope.app.interfaces.workflow import IProcessInstanceContainerAdaptable
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.app.services.servicenames import Workflows
+from zope.component import getAdapter, getService
from zope.context import getWrapperData
+from zope.proxy import removeAllProxies
+from zope.publisher.browser import BrowserView
class ManagementView(BrowserView):