[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/workflow/instance.py
Removed XXX.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:45:13 EDT 2004
Log message for revision 26304:
Removed XXX.
Converted XXX to TODO and statement.
-=-
Modified: Zope3/trunk/src/zope/app/workflow/instance.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/instance.py 2004-07-09 15:45:11 UTC (rev 26303)
+++ Zope3/trunk/src/zope/app/workflow/instance.py 2004-07-09 15:45:13 UTC (rev 26304)
@@ -29,11 +29,13 @@
from zope.app.container.contained import Contained, setitem, uncontained
-# XXX should an Instance be persistent by default ???
class ProcessInstance(Contained):
+ """Process Instance implementation.
- __doc__ = IProcessInstance.__doc__
-
+ Process instances are always added to a process instance container. This
+ container lives in an annotation of the object and is commonly stored in
+ the ZODB. Therefore a process instance should be persistent.
+ """
implements(IProcessInstance)
def __init__(self, pd_name):
@@ -67,7 +69,7 @@
def __init__(self, context):
self.context = context
- # XXX: Band-aid, so that the process instance can have a valid
+ # Band-aid, so that the process instance can have a valid
# path. Eventually the pi should have context as parent directly.
self.__parent__ = context
self.__name__ = "processInstances"
More information about the Zope3-Checkins
mailing list