From 9e85dc4e389607f4a944c97f476235321b751c58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 7 May 2013 22:53:39 +0200 Subject: [PATCH] Maj import --- HugePlinnFolder.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, \ -- 2.20.1