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
- - removed anything having to do with event_type/event_object
[plcapi.git]
/
PLC
/
Methods
/
AddPersonKey.py
diff --git
a/PLC/Methods/AddPersonKey.py
b/PLC/Methods/AddPersonKey.py
index
dfadfa5
..
c404d05
100644
(file)
--- a/
PLC/Methods/AddPersonKey.py
+++ b/
PLC/Methods/AddPersonKey.py
@@
-29,8
+29,6
@@
class AddPersonKey(Method):
returns = Parameter(int, 'New key_id (> 0) if successful')
- event_type = 'Add'
- object_type = 'Key'
def call(self, auth, person_id_or_email, key_fields):
key_fields = dict(filter(can_update, key_fields.items()))