[CMF-checkins] CVS: CMF/CMFCore - MemberDataTool.py:1.30.12.1
Yvo Schubbe
schubbe at web.de
Tue Sep 9 08:59:12 EDT 2003
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv2963/CMFCore
Modified Files:
Tag: yuppie-deleteMembers-branch
MemberDataTool.py
Log Message:
Prepare for deleteMembers:
- interface and docstring cleanup
=== CMF/CMFCore/MemberDataTool.py 1.30 => 1.30.12.1 ===
--- CMF/CMFCore/MemberDataTool.py:1.30 Fri May 9 13:46:10 2003
+++ CMF/CMFCore/MemberDataTool.py Tue Sep 9 07:58:39 2003
@@ -169,11 +169,8 @@
security.declarePrivate('pruneMemberDataContents')
def pruneMemberDataContents(self):
- '''
- Compare the user IDs stored in the member data
- tool with the list in the actual underlying acl_users
- and delete anything not in acl_users
- '''
+ """ Delete data contents of all members not listet in acl_users.
+ """
membertool= getToolByName(self, 'portal_membership')
members = self._members
user_list = membertool.listMemberIds()
@@ -216,12 +213,8 @@
security.declarePrivate('registerMemberData')
def registerMemberData(self, m, id):
- '''
- Adds the given member data to the _members dict.
- This is done as late as possible to avoid side effect
- transactions and to reduce the necessary number of
- entries.
- '''
+ """ Add the given member data to the _members btree.
+ """
self._members[id] = m
InitializeClass(MemberDataTool)
More information about the CMF-checkins
mailing list