projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7b214c4
)
Maj import
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 7 May 2013 20:53:39 +0000
(22:53 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 7 May 2013 20:53:39 +0000
(22:53 +0200)
HugePlinnFolder.py
patch
|
blob
|
history
diff --git
a/HugePlinnFolder.py
b/HugePlinnFolder.py
index
d8f33fd
..
2348316
100644
(file)
--- a/
HugePlinnFolder.py
+++ b/
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, \