[CMF-checkins] SVN: CMF_Extras/trunk/CMFStaging/ Make
WorkflowRepository addable in a GenericSetup toolset.
Tres Seaver
tseaver at palladion.com
Wed May 31 05:47:46 EDT 2006
Log message for revision 68405:
Make WorkflowRepository addable in a GenericSetup toolset.
See http://www.zope.org/Collectors/CMF/438 .
Changed:
U CMF_Extras/trunk/CMFStaging/CHANGES.txt
U CMF_Extras/trunk/CMFStaging/WorkflowRepository.py
U CMF_Extras/trunk/CMFStaging/version.txt
-=-
Modified: CMF_Extras/trunk/CMFStaging/CHANGES.txt
===================================================================
--- CMF_Extras/trunk/CMFStaging/CHANGES.txt 2006-05-31 08:40:05 UTC (rev 68404)
+++ CMF_Extras/trunk/CMFStaging/CHANGES.txt 2006-05-31 09:47:45 UTC (rev 68405)
@@ -1,5 +1,10 @@
CMFStaging Changelog
+ After CMFStaging 0.10
+
+ - Made WorkflowRepository addable via GenericSetup toolset
+ (http://www.zope.org/Collectors/CMF/438).
+
CMFStaging 0.10 (2005/03/22)
- CVS-only, tag CMFStaging-0_10
Modified: CMF_Extras/trunk/CMFStaging/WorkflowRepository.py
===================================================================
--- CMF_Extras/trunk/CMFStaging/WorkflowRepository.py 2006-05-31 08:40:05 UTC (rev 68404)
+++ CMF_Extras/trunk/CMFStaging/WorkflowRepository.py 2006-05-31 09:47:45 UTC (rev 68405)
@@ -46,8 +46,9 @@
_properties = ()
- def __init__(self, id):
- self.id = id
+ def __init__(self, id=None):
+ if id is not None:
+ self._setId( id )
self._histories = OOBTree()
security.declarePrivate('getHistory')
@@ -70,7 +71,8 @@
def manage_addWorkflowRepository(dispatcher, id, REQUEST=None):
""" """
- ob = WorkflowRepository(id)
+ ob = WorkflowRepository()
+ ob._setId(id)
dispatcher._setObject(id, ob)
if REQUEST is not None:
return dispatcher.manage_main(dispatcher, REQUEST)
Modified: CMF_Extras/trunk/CMFStaging/version.txt
===================================================================
--- CMF_Extras/trunk/CMFStaging/version.txt 2006-05-31 08:40:05 UTC (rev 68404)
+++ CMF_Extras/trunk/CMFStaging/version.txt 2006-05-31 09:47:45 UTC (rev 68405)
@@ -1 +1 @@
-CMFStaging-0.10
+CMFStaging-0.10+
More information about the CMF-checkins
mailing list