[CMF-checkins] CVS: CMF/CMFDefault - DiscussionTool.py:1.12.2.1 MembershipTool.py:1.28.2.1 MetadataTool.py:1.18.2.1

Yvo Schubbe schubbe@web.de
Sun, 12 Jan 2003 08:12:32 -0500


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

Modified Files:
      Tag: yuppie-buglets1-branch
	DiscussionTool.py MembershipTool.py MetadataTool.py 
Log Message:
use string methods:
- replaced string functions
- removed useless imports
- updated copyright statement

=== CMF/CMFDefault/DiscussionTool.py 1.12 => 1.12.2.1 ===
--- CMF/CMFDefault/DiscussionTool.py:1.12	Mon Jan  6 15:41:44 2003
+++ CMF/CMFDefault/DiscussionTool.py	Sun Jan 12 08:12:30 2003
@@ -1,14 +1,15 @@
 ##############################################################################
 #
-# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+# Copyright (c) 2001-2003 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.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """ Basic portal discussion access tool.
 


=== CMF/CMFDefault/MembershipTool.py 1.28 => 1.28.2.1 ===
--- CMF/CMFDefault/MembershipTool.py:1.28	Mon Jan  6 15:41:44 2003
+++ CMF/CMFDefault/MembershipTool.py	Sun Jan 12 08:12:30 2003
@@ -1,6 +1,7 @@
 ##############################################################################
 #
-# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
+# Copyright (c) 2001-2003 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.
@@ -10,7 +11,6 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-
 """ CMFDefault portal_membership tool.
 
 $Id$
@@ -21,7 +21,6 @@
 
 from Products.CMFCore.MembershipTool import MembershipTool as BaseTool
 from Products.CMFCore.PortalFolder import manage_addPortalFolder
-from Products.CMFCore.utils import _getAuthenticatedUser
 from Products.CMFCore.utils import _checkPermission
 from Products.CMFCore.utils import getToolByName
 from Products.CMFCore.ActionsTool import ActionInformation as AI


=== CMF/CMFDefault/MetadataTool.py 1.18 => 1.18.2.1 ===
--- CMF/CMFDefault/MetadataTool.py:1.18	Mon Jan  6 15:41:55 2003
+++ CMF/CMFDefault/MetadataTool.py	Sun Jan 12 08:12:30 2003
@@ -1,14 +1,15 @@
 ##############################################################################
 #
-# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+# Copyright (c) 2001-2003 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.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """ CMFDefault portal_metadata tool.
 
@@ -18,7 +19,6 @@
 from OFS.SimpleItem import SimpleItem
 from Products.CMFCore.utils import UniqueObject
 from Globals import PersistentMapping
-
 
 from Globals import InitializeClass, DTMLFile
 from AccessControl import ClassSecurityInfo, getSecurityManager