[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful - contentworkflow.py:1.4 definition.py:1.4 instance.py:1.5 xmlimportexport.py:1.4
Jim Fulton
jim@zope.com
Tue, 3 Jun 2003 18:46:54 -0400
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv6144/src/zope/app/workflow/stateful
Modified Files:
contentworkflow.py definition.py instance.py
xmlimportexport.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/workflow/stateful/contentworkflow.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/workflow/stateful/contentworkflow.py:1.3 Wed May 28 11:46:14 2003
+++ Zope3/src/zope/app/workflow/stateful/contentworkflow.py Tue Jun 3 18:46:23 2003
@@ -19,12 +19,9 @@
"""
__metaclass__ = type
-from zope.interface import Interface
from persistence import Persistent
from zope.component import getService, queryAdapter
-from zope.component.exceptions import ComponentLookupError
from zope.context import ContextMethod
-from zope.proxy import removeAllProxies
from zope.app.interfaces.event import ISubscriber
from zope.app.interfaces.event import IObjectCreatedEvent
=== Zope3/src/zope/app/workflow/stateful/definition.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/workflow/stateful/definition.py:1.3 Sun Jun 1 11:59:39 2003
+++ Zope3/src/zope/app/workflow/stateful/definition.py Tue Jun 3 18:46:23 2003
@@ -19,15 +19,13 @@
__metaclass__ = type
from persistence import Persistent
-from persistence.dict import PersistentDict
from zope.app.context import ContextWrapper
-from zope.context import getWrapperData, getWrapperContainer
-from zope.context import ContextMethod, getWrapperContext
+from zope.context import getWrapperContainer
+from zope.context import ContextMethod
from zope.app.interfaces.container import IReadContainer
-from zope.app.interfaces.workflow import IProcessDefinition
from zope.app.interfaces.workflow.stateful import IStatefulProcessDefinition
from zope.app.interfaces.workflow.stateful import IState, ITransition
from zope.app.interfaces.workflow.stateful import IStatefulStatesContainer
=== Zope3/src/zope/app/workflow/stateful/instance.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/workflow/stateful/instance.py:1.4 Sun Jun 1 11:59:39 2003
+++ Zope3/src/zope/app/workflow/stateful/instance.py Tue Jun 3 18:46:23 2003
@@ -28,7 +28,7 @@
from zope.component import getServiceManager
from zope.proxy import removeAllProxies
-from zope.context import ContextMethod, getWrapperContainer, ContextAware
+from zope.context import ContextMethod, ContextAware
from zope.app.context import ContextWrapper
from zope.security.management import getSecurityManager
@@ -39,8 +39,6 @@
#from zope.security.checker import CheckerPublic, selectChecker
#from zope.security.checker import Checker
#from zope.security.proxy import getChecker, Proxy
-
-from zope.app.security.permission import checkPermission
from zope.tales.engine import Engine
=== Zope3/src/zope/app/workflow/stateful/xmlimportexport.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/workflow/stateful/xmlimportexport.py:1.3 Wed May 28 11:46:14 2003
+++ Zope3/src/zope/app/workflow/stateful/xmlimportexport.py Tue Jun 3 18:46:23 2003
@@ -24,10 +24,8 @@
import IStatefulProcessDefinition
from zope.app.interfaces.workflow import IProcessDefinitionImportHandler
from zope.app.interfaces.workflow import IProcessDefinitionExportHandler
-from zope.component import getAdapter, getServiceManager
+from zope.component import getAdapter
from zope.app.interfaces.dublincore import IZopeDublinCore
-from types import StringTypes
-from zope.context import ContextMethod
from zope.proxy import removeAllProxies
from zope.security.checker import CheckerPublic