except ImportError:
from Products.CMFCore.CMFCorePermissions import ManagePortal
-from Products.CMFCore.MemberDataTool import CleanupTemp
+# from Products.CMFCore.MemberDataTool import CleanupTemp
from interfaces.portal_groupdata import portal_groupdata as IGroupDataTool
from interfaces.portal_groupdata import GroupData as IGroupData
portal_group = GroupData(base, id)
if temps is None:
self._v_temps = {id:portal_group}
- if hasattr(self, 'REQUEST'):
- # No REQUEST during tests.
- self.REQUEST._hold(CleanupTemp(self))
+# XXX ClenupTemp doesn't exits
+# if hasattr(self, 'REQUEST'):
+# # No REQUEST during tests.
+# self.REQUEST._hold(CleanupTemp(self))
else:
temps[id] = portal_group
else: