X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/99afe0ce8700bf835ff7bbedf77bb46e58f996d8..396872be6fe8744efb692bfdc8f9b129ebaef04b:/HugePlinnFolder.py diff --git a/HugePlinnFolder.py b/HugePlinnFolder.py index d8f33fd..2348316 100644 --- 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 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, \