projects
/
GroupUserFolder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77ce214
)
CleanupTemp n'existe plus.
zope-2.13
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 11 Jun 2013 14:52:00 +0000
(16:52 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 11 Jun 2013 14:52:00 +0000
(16:52 +0200)
GroupDataTool.py
patch
|
blob
|
history
diff --git
a/GroupDataTool.py
b/GroupDataTool.py
index
2da2493
..
fc1bb02
100644
(file)
--- a/
GroupDataTool.py
+++ b/
GroupDataTool.py
@@
-48,7
+48,7
@@
try:
except ImportError:
from Products.CMFCore.CMFCorePermissions import ManagePortal
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
from interfaces.portal_groupdata import portal_groupdata as IGroupDataTool
from interfaces.portal_groupdata import GroupData as IGroupData
@@
-116,9
+116,10
@@
class GroupDataTool (UniqueObject, SimpleItem, PropertyManager, ActionProviderBa
portal_group = GroupData(base, id)
if temps is None:
self._v_temps = {id:portal_group}
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:
else:
temps[id] = portal_group
else: