[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful -
instance.py:1.13 definition.py:1.8
Jeremy Hylton
cvs-admin at zope.org
Mon Nov 3 23:04:55 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv28992/src/zope/app/workflow/stateful
Modified Files:
instance.py definition.py
Log Message:
Fix various import issues.
Some names where from imported twice.
Other imports were unused.
Often imports were in partly random order, making them harder to read.
=== Zope3/src/zope/app/workflow/stateful/instance.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/workflow/stateful/instance.py:1.12 Sun Sep 21 13:33:57 2003
+++ Zope3/src/zope/app/workflow/stateful/instance.py Mon Nov 3 23:04:24 2003
@@ -22,14 +22,13 @@
from zope.app.event import publish
from zope.app.interfaces.workflow.stateful import AUTOMATIC
+from zope.app.interfaces.workflow.stateful import IAfterTransitionEvent
+from zope.app.interfaces.workflow.stateful import IBeforeTransitionEvent
+from zope.app.interfaces.workflow.stateful import IRelevantDataChangeEvent
from zope.app.interfaces.workflow.stateful import IStatefulProcessInstance
from zope.app.interfaces.workflow.stateful import ITransitionEvent
from zope.app.interfaces.workflow.stateful import \
- IBeforeTransitionEvent, IAfterTransitionEvent
-from zope.app.interfaces.workflow.stateful import IRelevantDataChangeEvent
-from zope.app.interfaces.workflow.stateful import \
IBeforeRelevantDataChangeEvent, IAfterRelevantDataChangeEvent
-from zope.app.interfaces.workflow.stateful import AUTOMATIC
from zope.app.traversing import getParent
from zope.app.workflow.instance import ProcessInstance
from zope.component import getService, getServiceManager
=== Zope3/src/zope/app/workflow/stateful/definition.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/workflow/stateful/definition.py:1.7 Sun Sep 21 13:33:56 2003
+++ Zope3/src/zope/app/workflow/stateful/definition.py Mon Nov 3 23:04:24 2003
@@ -21,20 +21,17 @@
from persistence import Persistent
from persistence.dict import PersistentDict
-from zope.app.container.contained import Contained
-
from zope.app.interfaces.container import IReadContainer
-
from zope.app.interfaces.workflow.stateful import IStatefulProcessDefinition
from zope.app.interfaces.workflow.stateful import IState, ITransition, INITIAL
from zope.app.interfaces.workflow.stateful import IStatefulStatesContainer
from zope.app.interfaces.workflow.stateful import IStatefulTransitionsContainer
+from zope.interface import implements
+from zope.app.container.contained import Contained
from zope.app.workflow.definition import ProcessDefinition
from zope.app.workflow.definition import ProcessDefinitionElementContainer
from zope.app.workflow.stateful.instance import StatefulProcessInstance
-from zope.interface import implements
-from zope.app.container.contained import Contained
class State(Persistent, Contained):
More information about the Zope3-Checkins
mailing list