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
/
DeleteKeyType.py
diff --git
a/PLC/Methods/DeleteKeyType.py
b/PLC/Methods/DeleteKeyType.py
index
2554cb0
..
34d4339
100644
(file)
--- a/
PLC/Methods/DeleteKeyType.py
+++ b/
PLC/Methods/DeleteKeyType.py
@@
-21,10
+21,8
@@
class DeleteKeyType(Method):
]
returns = Parameter(int, '1 if successful')
-
- event_type = 'Delete'
- object_type = 'KeyType'
-
+
+
def call(self, auth, name):
key_types = KeyTypes(self.api, [name])
if not key_types: