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
====
[plcapi.git]
/
PLC
/
Methods
/
DeleteKey.py
diff --git
a/PLC/Methods/DeleteKey.py
b/PLC/Methods/DeleteKey.py
index
313c2a4
..
51c40d4
100644
(file)
--- a/
PLC/Methods/DeleteKey.py
+++ b/
PLC/Methods/DeleteKey.py
@@
-38,9
+38,9
@@
class DeleteKey(Method):
raise PLCPermissionDenied, "Key must be associated with your account"
key.delete()
raise PLCPermissionDenied, "Key must be associated with your account"
key.delete()
-
- # Logging variables
- self.object_ids = [key['key_id']]
- self.message = 'Key %d deleted' % key['key_id']
+
+
# Logging variables
+ self.event_objects = {'Key': [key['key_id']]}
+
self.message = 'Key %d deleted' % key['key_id']
return 1
return 1