3 small optimisations:
* remove an unused call to object.getPath() * only calculate object.getPortalType() if type_list is empty * store portal_catalog in a variable instead of doing the getattr inside the loop git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17122 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment