5a7b5b454c2e64a34add212972792418e90c039c
[Plinn.git] / patch.py
1 """ Plinn monkey patch
2
3
4
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
12 CMFPortalFolder.put_upload = PlinnFolder.put_upload.im_func