Commit beecfab2 authored by Vincent Pelletier's avatar Vincent Pelletier

Forgot a "return"... Sorry.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15488 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9254f9ee
...@@ -484,6 +484,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -484,6 +484,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
# dtml instead ? # dtml instead ?
allowedRolesAndUsers = ["'%s'" % (role, ) for role in allowedRolesAndUsers] allowedRolesAndUsers = ["'%s'" % (role, ) for role in allowedRolesAndUsers]
security_uid_list = [x.uid for x in method(security_roles_list = allowedRolesAndUsers)] security_uid_list = [x.uid for x in method(security_roles_list = allowedRolesAndUsers)]
return security_uid_list
_getSecurityUidList = CachingMethod(_getSecurityUidList, _getSecurityUidList = CachingMethod(_getSecurityUidList,
id='_getSecurityUidList', id='_getSecurityUidList',
cache_factory='erp5_content_short') cache_factory='erp5_content_short')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment