[CMF-checkins] CVS: CMF/CMFDefault - MembershipTool.py:1.31.14.1
Yvo Schubbe
schubbe@web.de
Fri, 14 Mar 2003 13:23:10 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv7651/CMFDefault
Modified Files:
Tag: yuppie-collector102-branch
MembershipTool.py
Log Message:
- fixed aqusition bug (Collector #102)
=== CMF/CMFDefault/MembershipTool.py 1.31 => 1.31.14.1 ===
--- CMF/CMFDefault/MembershipTool.py:1.31 Fri Feb 21 06:39:15 2003
+++ CMF/CMFDefault/MembershipTool.py Fri Mar 14 13:23:10 2003
@@ -180,7 +180,7 @@
""" Create a member area for 'member_id'.
"""
members = self.getMembersFolder()
- if members is not None and not hasattr(members, member_id):
+ if members is not None and member_id not in members.objectIds():
f_title = "%s's Home" % member_id
members.manage_addPortalFolder( id=member_id, title=f_title )
f=getattr(members, member_id)