X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..e1008120638ddbc3cac617a5617672d187d3aa96:/HugePlinnFolder.py?ds=sidebyside diff --git a/HugePlinnFolder.py b/HugePlinnFolder.py index 8910ede..2348316 100644 --- a/HugePlinnFolder.py +++ b/HugePlinnFolder.py @@ -19,8 +19,8 @@ ####################################################################################### """ 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 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, \