[CMF-checkins] CVS: CMF/CMFDefault - PropertiesTool.py:1.10.2.1 RegistrationTool.py:1.17.2.1

Yvo Schubbe schubbe@web.de
Sat, 8 Feb 2003 10:13:39 -0500


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

Modified Files:
      Tag: yuppie-collector123-branch
	PropertiesTool.py RegistrationTool.py 
Log Message:
- changed _actions' making them tuples (Collector #123)
- reverted copyright updates (I was told it's policy *not* to update copyright statements)

=== CMF/CMFDefault/PropertiesTool.py 1.10 => 1.10.2.1 ===
--- CMF/CMFDefault/PropertiesTool.py:1.10	Tue Feb  4 17:38:01 2003
+++ CMF/CMFDefault/PropertiesTool.py	Sat Feb  8 10:13:39 2003
@@ -1,7 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2001-2003 Zope Corporation and Contributors.
-# All Rights Reserved.
+# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
@@ -38,7 +37,7 @@
 
     id = 'portal_properties'
     meta_type = 'Default Properties Tool'
-    _actions = [ActionInformation(id='configPortal'
+    _actions = (ActionInformation(id='configPortal'
                             , title='Reconfigure Portal'
                             , description='Reconfigure the portal'
                             , action=Expression(
@@ -47,7 +46,9 @@
                             , category='global'
                             , condition=None
                             , visible=1
-                             )] 
+                             )
+               ,
+               )
 
     security = ClassSecurityInfo()
 


=== CMF/CMFDefault/RegistrationTool.py 1.17 => 1.17.2.1 ===
--- CMF/CMFDefault/RegistrationTool.py:1.17	Tue Feb  4 17:38:01 2003
+++ CMF/CMFDefault/RegistrationTool.py	Sat Feb  8 10:13:39 2003
@@ -1,7 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2001-2003 Zope Corporation and Contributors.
-# All Rights Reserved.
+# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
@@ -11,7 +10,7 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-"""CMFDefault portal_registration tool.
+""" CMFDefault portal_registration tool.
 
 $Id$
 """
@@ -31,15 +30,13 @@
 from utils import _dtmldir
 
 class RegistrationTool(BaseTool):
-
     """ Manage through-the-web signup policies.
     """
 
     __implements__ = BaseTool.__implements__
 
     meta_type = 'Default Registration Tool'
-
-    _actions = [ ActionInformation( id='join'
+    _actions = ( ActionInformation( id='join'
                                   , title='Join'
                                   , description='Click here to Join'
                                   , action=Expression(
@@ -48,7 +45,9 @@
                                   , category='user'
                                   , condition=Expression(text='not: member')
                                   , visible=1
-                                  ) ]
+                                  )
+               ,
+               )
 
     security = ClassSecurityInfo()