git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96b53f3
)
bug fix: instantiating Roles() only takes 2 args, not three.
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 27 May 2009 16:55:07 +0000
(16:55 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Wed, 27 May 2009 16:55:07 +0000
(16:55 +0000)
PLC/Persons.py
patch
|
blob
|
history
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:
# 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
role_ids += roles.keys()
# Add new ids, remove stale ids