[CMF-checkins] CVS: Products/DCWorkflow - DCWorkflow.py:1.39.6.1
Tres Seaver
tseaver at palladion.com
Fri Jul 15 18:41:55 EDT 2005
Update of /cvs-repository/Products/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv16776/DCWorkflow
Modified Files:
Tag: tseaver-z3_interfaces-branch
DCWorkflow.py
Log Message:
Branch for Z3-ification of CMF interfaces
- All interfaces declared in the CMF are now Zope3-style interfaces
(the one remaining exception is to leave Zope2's
'webdav.WriteLockInterface' declared by CMFCore.PortalContent and
derivatives.).
TOOD
- Clean up XXX'es noted during this pass.
=== Products/DCWorkflow/DCWorkflow.py 1.39 => 1.39.6.1 ===
--- Products/DCWorkflow/DCWorkflow.py:1.39 Tue Apr 26 11:36:59 2005
+++ Products/DCWorkflow/DCWorkflow.py Fri Jul 15 18:41:24 2005
@@ -26,9 +26,10 @@
from OFS.Folder import Folder
from OFS.ObjectManager import bad_id
+from zope.interface import implements
+
# CMFCore
-from Products.CMFCore.interfaces.portal_workflow \
- import WorkflowDefinition as IWorkflowDefinition
+from Products.CMFCore.interfaces import IWorkflowDefinition
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.WorkflowCore import ObjectDeleted
from Products.CMFCore.WorkflowCore import ObjectMoved
@@ -60,7 +61,7 @@
UI methods are in WorkflowUIMixin.
'''
- __implements__ = IWorkflowDefinition
+ implements(IWorkflowDefinition)
meta_type = 'Workflow'
title = 'DC Workflow Definition'
More information about the CMF-checkins
mailing list