Commit bf0be862 authored by Romain Courteaud's avatar Romain Courteaud

Do not use python keyword as variable name


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21488 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d33f56f
...@@ -251,12 +251,12 @@ class CopyContainer: ...@@ -251,12 +251,12 @@ class CopyContainer:
userid=user.getId() userid=user.getId()
if userid is not None: if userid is not None:
#remove previous owners #remove previous owners
dict = self.__ac_local_roles__ local_role_dict = self.__ac_local_roles__
for key, value in dict.items(): for key, value in local_role_dict.items():
if 'Owner' in value: if 'Owner' in value:
value.remove('Owner') value.remove('Owner')
#add new owner #add new owner
l=dict.setdefault(userid, []) l=local_role_dict.setdefault(userid, [])
l.append('Owner') l.append('Owner')
# Clear the transaction references # Clear the transaction references
......
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