[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow -
stateful.py:1.19.6.1
Jim Fulton
jim at zope.com
Mon Sep 8 15:22:13 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv20092/src/zope/app/interfaces/workflow
Modified Files:
Tag: parentgeddon-branch
stateful.py
Log Message:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing. Specific log entries will be provided
when we merge this into the head.
=== Zope3/src/zope/app/interfaces/workflow/stateful.py 1.19 => 1.19.6.1 ===
--- Zope3/src/zope/app/interfaces/workflow/stateful.py:1.19 Fri Aug 15 20:43:37 2003
+++ Zope3/src/zope/app/interfaces/workflow/stateful.py Mon Sep 8 14:21:42 2003
@@ -17,7 +17,6 @@
"""
import zope.schema
-from zope.context import ContextProperty
from zope.app.security.permission import PermissionField
from zope.interface import Interface, Attribute
@@ -101,7 +100,7 @@
pd = self.context.getProcessDefinition()
return pd.getStateNames()
- allowed_values = ContextProperty(__allowed)
+ allowed_values = property(__allowed)
class TriggerModeField(zope.schema.TextLine):
@@ -110,7 +109,7 @@
def __allowed(self):
return [MANUAL, AUTOMATIC]
- allowed_values = ContextProperty(__allowed)
+ allowed_values = property(__allowed)
class ITransition(Interface):
More information about the Zope3-Checkins
mailing list