[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.32.10.5
Florent Guillaume
fg at nuxeo.com
Thu Jan 29 11:33:26 EST 2004
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv30141/CMFCore
Modified Files:
Tag: CMF-1_4-branch
MembershipTool.py
Log Message:
Don't swallow ConflictError during wrapUser.
=== CMF/CMFCore/MembershipTool.py 1.32.10.4 => 1.32.10.5 ===
--- CMF/CMFCore/MembershipTool.py:1.32.10.4 Mon Sep 29 07:12:35 2003
+++ CMF/CMFCore/MembershipTool.py Thu Jan 29 11:33:26 2004
@@ -20,6 +20,7 @@
from OFS.SimpleItem import SimpleItem
from Globals import InitializeClass, DTMLFile, MessageDialog, \
PersistentMapping
+from ZODB.POSException import ConflictError
from Acquisition import aq_base
from AccessControl.User import nobody
from AccessControl import ClassSecurityInfo
@@ -147,7 +148,8 @@
self.createMemberarea(portal_user.getId())
return portal_user
-
+ except ConflictError:
+ raise
except:
from zLOG import LOG, ERROR
import sys
More information about the CMF-checkins
mailing list