git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bug fix: instantiating Roles() only takes 2 args, not three.
[plcapi.git]
/
PLC
/
Persons.py
diff --git
a/PLC/Persons.py
b/PLC/Persons.py
index
3c49ae6
..
95efb89
100644
(file)
--- a/
PLC/Persons.py
+++ b/
PLC/Persons.py
@@
-239,7
+239,7
@@
class Person(Row):
# Translate roles into role_ids
if role_names:
- roles = Roles(self.api, role_names
, ['role_id']
).dict('role_id')
+ roles = Roles(self.api, role_names).dict('role_id')
role_ids += roles.keys()
# Add new ids, remove stale ids