[CMF-checkins] CVS: CMF/DCWorkflow - ContainerTab.py:1.5 DCWorkflow.py:1.16 Default.py:1.12 Expression.py:1.12 Guard.py:1.6 Scripts.py:1.3 States.py:1.6 Transitions.py:1.6 Variables.py:1.5 WorkflowUIMixin.py:1.4 Worklists.py:1.5 __init__.py:1.5 utils.py:1.4
Tres Seaver
tseaver@zope.com
Thu, 1 Aug 2002 15:05:17 -0400
Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv13736/DCWorkflow
Modified Files:
ContainerTab.py DCWorkflow.py Default.py Expression.py
Guard.py Scripts.py States.py Transitions.py Variables.py
WorkflowUIMixin.py Worklists.py __init__.py utils.py
Log Message:
- Normalize module headers:
o Eradicate __version__, which tended to be a merge hotspot, in favor
of embedding $Id$ in the docstring (which somehow seems not to cause
nearly so many conflicts).
o Use triple-quotes, rather than triple-apostrophes, for module
docstrings; canonicalize format: single, summary line, followed
by optional narrative, followed by $Id$; each section separated
by a blank line.
=== CMF/DCWorkflow/ContainerTab.py 1.4 => 1.5 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-A convenient base class for representing a container as a management tab.
-$Id$
-'''
-__version__='$Revision$'[11:-2]
+""" A convenient base class for representing a container as a management tab.
+$Id$
+"""
from OFS.Folder import Folder
from OFS.SimpleItem import Item_w__name__
=== CMF/DCWorkflow/DCWorkflow.py 1.15 => 1.16 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Web-configurable workflow.
+""" Web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
# Python library
from string import join
=== CMF/DCWorkflow/Default.py 1.11 => 1.12 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Programmatically creates a workflow.
+""" Programmatically creates a workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from Products.CMFCore.CMFCorePermissions import RequestReview, \
ModifyPortalContent, \
=== CMF/DCWorkflow/Expression.py 1.11 => 1.12 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Expressions in a web-configurable workflow.
+""" Expressions in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
import Globals
from Globals import Persistent
=== CMF/DCWorkflow/Guard.py 1.5 => 1.6 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Guard conditions in a web-configurable workflow.
+""" Guard conditions in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from string import split, strip, join
from cgi import escape
=== CMF/DCWorkflow/Scripts.py 1.2 => 1.3 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Scripts in a web-configurable workflow.
+""" Scripts in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from OFS.Folder import Folder
import Globals
=== CMF/DCWorkflow/States.py 1.5 => 1.6 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-States in a web-configurable workflow.
+""" States in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from string import join
=== CMF/DCWorkflow/Transitions.py 1.5 => 1.6 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Transitions in a web-configurable workflow.
+""" Transitions in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from string import join, split, strip
=== CMF/DCWorkflow/Variables.py 1.4 => 1.5 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Variables in a web-configurable workflow.
+""" Variables in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from string import join, split, strip
=== CMF/DCWorkflow/WorkflowUIMixin.py 1.3 => 1.4 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Web-configurable workflow UI.
+""" Web-configurable workflow UI.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from Globals import DTMLFile
import Globals
=== CMF/DCWorkflow/Worklists.py 1.4 => 1.5 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Worklists in a web-configurable workflow.
+""" Worklists in a web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from OFS.SimpleItem import SimpleItem
from Globals import DTMLFile, PersistentMapping
=== CMF/DCWorkflow/__init__.py 1.4 => 1.5 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Web-configurable workflow.
+""" Web-configurable workflow.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
from Products.CMFCore.utils import registerIcon
import DCWorkflow, States, Transitions, Variables, Worklists, Scripts
=== CMF/DCWorkflow/utils.py 1.3 => 1.4 ===
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-'''
-Some common utilities.
+""" Some common utilities.
+
$Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
import os
from App.Common import package_home