From: Benoît Pin Date: Tue, 7 May 2013 20:53:39 +0000 (+0200) Subject: Maj import X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/9e85dc4e389607f4a944c97f476235321b751c58?ds=inline;hp=--cc Maj import --- 9e85dc4e389607f4a944c97f476235321b751c58 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, \