Résolu : problème de localisation avec zope-2.12.
[Plinn.git] / patch.py
1 """ Plinn monkey patch
2
3 $Id: patch.py 1458 2009-01-30 18:11:21Z pin $
4 $URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/patch.py $
5 """
6 from Products.CMFCore.PortalFolder import PortalFolder as CMFPortalFolder
7 from Folder import PlinnFolder
8
9 CMFPortalFolder.listFolderContents = PlinnFolder.listFolderContents.im_func
10 CMFPortalFolder.listNearestFolderContents = PlinnFolder.listNearestFolderContents.im_func
11 CMFPortalFolder.listCatalogedContents = PlinnFolder.listCatalogedContents.im_func