[Zope3-checkins]
SVN: Zope3/branches/jack-e_interfacebased_workflow/src/zope/app/workflow/stateful/definition.py
trailing whitespaces and cosmetic
Julien Anguenot
ja at nuxeo.com
Tue Oct 12 06:25:37 EDT 2004
Log message for revision 27989:
trailing whitespaces and cosmetic
Changed:
U Zope3/branches/jack-e_interfacebased_workflow/src/zope/app/workflow/stateful/definition.py
-=-
Modified: Zope3/branches/jack-e_interfacebased_workflow/src/zope/app/workflow/stateful/definition.py
===================================================================
--- Zope3/branches/jack-e_interfacebased_workflow/src/zope/app/workflow/stateful/definition.py 2004-10-12 10:24:43 UTC (rev 27988)
+++ Zope3/branches/jack-e_interfacebased_workflow/src/zope/app/workflow/stateful/definition.py 2004-10-12 10:25:35 UTC (rev 27989)
@@ -22,6 +22,7 @@
from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
from zope.security.checker import CheckerPublic
+from zope.app import zapi
from zope.app.container.interfaces import IReadContainer
from zope.app.container.contained import Contained, containedEvent
from zope.event import notify
@@ -30,12 +31,12 @@
from zope.app.workflow.definition import ProcessDefinitionElementContainer
from zope.app.workflow.stateful.interfaces import IStatefulProcessDefinition
from zope.app.workflow.stateful.interfaces import IState, IStateContained
-from zope.app.workflow.stateful.interfaces import ITransition, ITransitionContained, INITIAL
+from zope.app.workflow.stateful.interfaces import ITransition, \
+ ITransitionContained, INITIAL
from zope.app.workflow.stateful.interfaces import IStatefulStatesContainer
from zope.app.workflow.stateful.interfaces import IStatefulTransitionsContainer
from zope.app.workflow.stateful.interfaces import MANUAL
-
class State(Persistent, Contained):
"""State."""
implements(IState,IStateContained)
@@ -72,8 +73,6 @@
return obj.getStateNames()
raise 'NoLocalProcessDefinition', 'No local process definition found.'
-
-
class Transition(Persistent, Contained):
"""Transition from one state to another."""
@@ -100,8 +99,6 @@
def getProcessDefinition(self):
return self.__parent__.getProcessDefinition()
-
-
class TransitionsContainer(ProcessDefinitionElementContainer):
"""Container that stores Transitions."""
implements(IStatefulTransitionsContainer)
@@ -138,7 +135,7 @@
def setTargetInterface(self, i):
self.__targetInterface = i
-
+
# XXX register an Adapter for targetInterface
# that provides IStatefulProcessDefinition here
@@ -244,3 +241,4 @@
"""See zope.app.container.interfaces.IReadContainer"""
return 2
+#################################################################
More information about the Zope3-Checkins
mailing list