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
66d7bdf
..
34d4339
100644
(file)
--- a/
PLC/Methods/DeleteKeyType.py
+++ b/
PLC/Methods/DeleteKeyType.py
@@
-1,4
+1,3
@@
-# $Id#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-22,8
+21,8
@@
class DeleteKeyType(Method):
]
returns = Parameter(int, '1 if successful')
-
-
+
+
def call(self, auth, name):
key_types = KeyTypes(self.api, [name])
if not key_types: