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
blind 2to3
[plcapi.git]
/
PLC
/
Methods
/
DeleteKeyType.py
diff --git
a/PLC/Methods/DeleteKeyType.py
b/PLC/Methods/DeleteKeyType.py
index
34d4339
..
81bbd56
100644
(file)
--- a/
PLC/Methods/DeleteKeyType.py
+++ b/
PLC/Methods/DeleteKeyType.py
@@
-26,7
+26,7
@@
class DeleteKeyType(Method):
def call(self, auth, name):
key_types = KeyTypes(self.api, [name])
if not key_types:
- raise PLCInvalidArgument
, "No such key type"
+ raise PLCInvalidArgument
("No such key type")
key_type = key_types[0]
key_type.delete()