[Zope3-checkins] CVS: zopeproducts/NewsSite - sitesetup.py:1.6
Philipp von Weitershausen
philikon@philikon.de
Wed, 30 Jul 2003 00:44:45 -0400
Update of /cvs-repository/zopeproducts/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv2651/src/zopeproducts/NewsSite
Modified Files:
sitesetup.py
Log Message:
Dummdidumm. Fixing NewsSite again...
=== zopeproducts/NewsSite/sitesetup.py 1.5 => 1.6 ===
--- zopeproducts/NewsSite/sitesetup.py:1.5 Wed Jun 25 11:30:33 2003
+++ zopeproducts/NewsSite/sitesetup.py Wed Jul 30 00:44:40 2003
@@ -31,7 +31,7 @@
from zope.app.interfaces.workflow import IProcessDefinitionImportExport
from zope.app.workflow.stateful.contentworkflow \
- import ContentWorkflowsUtility
+ import ContentWorkflowsManager
from zope.app.workflow.service import ProcessDefinitionRegistration
from zope.app.workflow.stateful.definition \
import StatefulProcessDefinition
@@ -71,11 +71,11 @@
rm.setObject('', registration)
traverse(rm, '2').status = ActiveStatus
- # Create Content Workflows Utility
- workflowsutility_name = 'ContentWorkflowsUtility-1'
- default.setObject(workflowsutility_name, ContentWorkflowsUtility())
- workflowsutility = traverse(default, workflowsutility_name)
- workflowsutility.subscribe()
+ # Create Content Workflows Manager
+ workflowsmanager_name = 'ContentWorkflowsManager-1'
+ default.setObject(workflowsmanager_name, ContentWorkflowsManager())
+ workflowsmanager = traverse(default, workflowsmanager_name)
+ workflowsmanager.subscribe()
# Create Default Processdefinition
pd_name = 'PublishReviewWorkflow-1'