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 'message' instance variable (high level description of this event)
[plcapi.git]
/
PLC
/
Methods
/
BlacklistKey.py
diff --git
a/PLC/Methods/BlacklistKey.py
b/PLC/Methods/BlacklistKey.py
index
a412865
..
0e583df
100644
(file)
--- a/
PLC/Methods/BlacklistKey.py
+++ b/
PLC/Methods/BlacklistKey.py
@@
-37,6
+37,9
@@
class BlacklistKey(Method):
PLCCheckLocalKey(key,"BlackListKey")
key.blacklist()
+
+ # Logging variables
self.object_ids = [key['key_id']]
+ self.message = 'Key %d blacklisted' % key['key_id']
return 1