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
an attempt to get more feedback from a node that fails to boot
[plcapi.git]
/
PLC
/
Methods
/
BlacklistKey.py
diff --git
a/PLC/Methods/BlacklistKey.py
b/PLC/Methods/BlacklistKey.py
index
2afd664
..
86721e9
100644
(file)
--- a/
PLC/Methods/BlacklistKey.py
+++ b/
PLC/Methods/BlacklistKey.py
@@
-28,7
+28,7
@@
class BlacklistKey(Method):
# Get associated key details
keys = Keys(self.api, [key_id])
if not keys:
- raise PLCInvalidArgument
, "No such key"
+ raise PLCInvalidArgument
("No such key")
key = keys[0]
# N.B.: Can blacklist any key, even foreign ones