[CMF-checkins] CVS: CMF/CMFDefault - DefaultWorkflow.py:1.11.4.3 DiscussionTool.py:1.9.4.1 Document.py:1.47.6.2 Favorite.py:1.16.4.1 Link.py:1.20.4.2 Portal.py:1.30.4.2 PropertiesTool.py:1.6.18.1 URLTool.py:1.10.6.1

Tres Seaver tseaver@zope.com
Thu, 1 Aug 2002 15:08:27 -0400


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv15668/CMFDefault

Modified Files:
      Tag: CMF-1_3-branch
	DefaultWorkflow.py DiscussionTool.py Document.py Favorite.py 
	Link.py Portal.py PropertiesTool.py URLTool.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/CMFDefault/DefaultWorkflow.py 1.11.4.2 => 1.11.4.3 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-'''
-A simple submit/review/publish workflow.
+""" A simple submit/review/publish workflow.
+
 $Id$
-'''
-__version__='$Revision$'[11:-2]
+"""
 
 import sys
 import Globals


=== CMF/CMFDefault/DiscussionTool.py 1.9 => 1.9.4.1 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
+""" Basic portal discussion access tool.
 
-"""Basic portal discussion access tool.
 $Id$
 """
-__version__='$Revision$'[11:-2]
-
 
 from Globals import InitializeClass, DTMLFile
 from AccessControl import ClassSecurityInfo


=== CMF/CMFDefault/Document.py 1.47.6.1 => 1.47.6.2 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-__version__ = "$Revision$"[11:-2]
+""" Basic textual content object, supporting both HTML and STX.
+
+$Id$
+"""
 
 ADD_CONTENT_PERMISSION = 'Add portal content'
 


=== CMF/CMFDefault/Favorite.py 1.16 => 1.16.4.1 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-"""
-    Favorites represent references to other objects within the same
-    CMF site..
+""" Favorites are references to other objects within the same CMF site..
 
 $Id$
 """
-__version__ = "$Revision$"[11:-2]
 
 import Globals
 from Globals import HTMLFile, HTML


=== CMF/CMFDefault/Link.py 1.20.4.1 => 1.20.4.2 ===
 
 $Id$
 """
-__version__ = "$Revision$"[11:-2]
 
 import string
 import urlparse


=== CMF/CMFDefault/Portal.py 1.30.4.1 => 1.30.4.2 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
+""" Portal class
 
-"""Portal class
 $Id$
 """
-__version__='$Revision$'[11:-2]
  
 import Globals
 from Products.CMFCore.PortalObject import PortalObjectBase


=== CMF/CMFDefault/PropertiesTool.py 1.6 => 1.6.18.1 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-
-"""CMFDefault portal_properties tool.
+""" CMFDefault portal_properties tool.
 
 $Id$
 """
-__version__='$Revision$'[11:-2]
-
 
 from Products.CMFCore.utils import UniqueObject
 from OFS.SimpleItem import SimpleItem


=== CMF/CMFDefault/URLTool.py 1.10 => 1.10.6.1 ===
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-
-"""CMFDefault portal_url tool.
+""" CMFDefault portal_url tool.
 
 $Id$
 """
-__version__='$Revision$'[11:-2]
-
 
 from Products.CMFCore.utils import UniqueObject
 from OFS.SimpleItem import SimpleItem