Commit 8f79a2f3 authored by Sebastien Robin's avatar Sebastien Robin

corrected stupid error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1148 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c745466c
......@@ -1299,7 +1299,7 @@ class Base( CopyContainer, PortalContent, Base18, ActiveObject, ERP5PropertyMana
else:
if type(local_permission_list) is type('a'):
local_permission_list = (local_permission_list,)
setattr(self,tuple(permission_name),local_permission_list)
setattr(self,permission_name,tuple(local_permission_list))
class TempBase(Base):
"""
......
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