projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sujet du mail de réinitialisation de mot de passé plus user-friendly.
[Plinn.git]
/
HugePlinnFolder.py
diff --git
a/HugePlinnFolder.py
b/HugePlinnFolder.py
index
8910ede
..
dc75878
100644
(file)
--- a/
HugePlinnFolder.py
+++ b/
HugePlinnFolder.py
@@
-19,8
+19,8
@@
#######################################################################################
""" Plinn implementation of CMFBTree
#######################################################################################
""" Plinn implementation of CMFBTree
-$Id: HugePlinnFolder.py 1459 2009-02-02 00:57:24Z pin $
-$URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/HugePlinnFolder.py $
+
+
"""
"""
@@
-30,7
+30,11
@@
from BTrees.IOBTree import IOBTree
from BTrees.OIBTree import OIBTree
from Folder import PlinnFolder
from zope.event import notify
from BTrees.OIBTree import OIBTree
from Folder import PlinnFolder
from zope.event import notify
-from zope.app.container.contained import notifyContainerModified
+try :
+ from zope.app.container.contained import notifyContainerModified
+except ImportError :
+ ## Zope-2.13 compat
+ from zope.container.contained import notifyContainerModified
from events import ObjectPositionModified
from zope.component.factory import Factory
from Products.CMFCore.permissions import AddPortalFolders, \
from events import ObjectPositionModified
from zope.component.factory import Factory
from Products.CMFCore.permissions import AddPortalFolders, \
@@
-47,6
+51,8
@@
class HugePlinnFolder(BTreeFolder2Base, PlinnFolder) :
security = ClassSecurityInfo()
security = ClassSecurityInfo()
+ __getitem__ = PlinnFolder.__getitem__
+
def __init__(self, id, title='') :
PlinnFolder.__init__(self, id, title)
BTreeFolder2Base.__init__(self, id)
def __init__(self, id, title='') :
PlinnFolder.__init__(self, id, title)
BTreeFolder2Base.__init__(self, id)