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
/
UpdatePerson.py
diff --git
a/PLC/Methods/UpdatePerson.py
b/PLC/Methods/UpdatePerson.py
index
85c4a71
..
594f1ff
100644
(file)
--- a/
PLC/Methods/UpdatePerson.py
+++ b/
PLC/Methods/UpdatePerson.py
@@
-33,6
+33,8
@@
class UpdatePerson(Method):
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, person_fields):
person_fields = dict(filter(can_update, person_fields.items()))