X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/134afce3c7d900439de42bf8818422e8edbea01e..01efcd7347642e00ea0b7bb18b0a18013659ac1d:/Folder.py?ds=inline diff --git a/Folder.py b/Folder.py index e36dec8..0e3804f 100644 --- a/Folder.py +++ b/Folder.py @@ -269,16 +269,10 @@ class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) : """ query catalog and returns brains of contents. Requires ExtendedPathIndex """ - #ctool = getToolByName(self, 'portal_catalog') ctool = getUtilityByInterfaceName('Products.CMFCore.interfaces.ICatalogTool') - #print ctool.absolute_url() contentFilter['path'] = {'query':'/'.join(self.getPhysicalPath()), 'depth':1} - try : - return ctool(sort_on='position', **contentFilter) - except : - return ctool(**contentFilter) - + return ctool(sort_on='position', **contentFilter) security.declarePublic('synContentValues') def synContentValues(self):