[CMF-checkins] CVS: Products/CMFCore - MemberDataTool.py:1.7
Jens Vagelpohl
jens@zope.com
Wed, 10 Oct 2001 13:52:49 -0400
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv23054/CMFCore
Modified Files:
MemberDataTool.py
Log Message:
Changed the MemberDataTool to use an OOBTree instead of the old and
deprecated BTree. (CMF Tracker 375)
=== Products/CMFCore/MemberDataTool.py 1.6 => 1.7 ===
import Globals
from AccessControl.Role import RoleManager
-from BTree import BTree
+from BTrees.OOBTree import OOBTree
from ZPublisher.Converters import type_converters
from Acquisition import aq_inner, aq_parent, aq_base
from AccessControl import ClassSecurityInfo
@@ -143,7 +143,7 @@
def __init__(self):
- self._members = BTree()
+ self._members = OOBTree()
# Create the default properties.
self._setProperty('email', '', 'string')
self._setProperty('portal_skin', '', 'string')