an attempt to get more feedback from a node that fails to boot
[plcapi.git] / PLC / Methods / BlacklistKey.py
index 2afd664..86721e9 100644 (file)
@@ -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