[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow - stateful.py:1.2

Ulrich Eck ueck@net-labs.de
Tue, 4 Feb 2003 11:46:42 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv19787

Modified Files:
	stateful.py 
Log Message:
simplify the Transition interface a bit


=== Zope3/src/zope/app/interfaces/workflow/stateful.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/interfaces/workflow/stateful.py:1.1	Sat Feb  1 14:17:39 2003
+++ Zope3/src/zope/app/interfaces/workflow/stateful.py	Tue Feb  4 11:46:39 2003
@@ -74,18 +74,12 @@
     """Stateful workflow transition.
     """
 
+    sourceState = Attribute("Name of the source state.")
+
     destinationState = Attribute("Name of the destination state.")
 
     condition = Attribute("""The condition that is evaluated to decide if \
                              the condition is fired or not.""")
-
-
-class IBasicTransition(ITransition):
-    """Basic stateful workflow transition.
-    """
-
-    sourceState = Attribute("Name of the source state.")
-