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
- added logging variable 'object_type'
[plcapi.git]
/
PLC
/
Methods
/
AdmGetPersonRoles.py
diff --git
a/PLC/Methods/AdmGetPersonRoles.py
b/PLC/Methods/AdmGetPersonRoles.py
index
024b93c
..
e05f955
100644
(file)
--- a/
PLC/Methods/AdmGetPersonRoles.py
+++ b/
PLC/Methods/AdmGetPersonRoles.py
@@
-33,6
+33,8
@@
class AdmGetPersonRoles(Method):
returns = dict
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email):
# Get account information
persons = Persons(self.api, [person_id_or_email])