Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value...
[plcapi.git] / PLC / Methods / DeleteBootState.py
index 1bea3db..84f24c5 100644 (file)
@@ -27,7 +27,7 @@ class DeleteBootState(Method):
     def call(self, auth, name):
         boot_states = BootStates(self.api, [name])
         if not boot_states:
-            raise PLCInvalidArgument, "No such boot state"
+            raise PLCInvalidArgument("No such boot state")
         boot_state = boot_states[0]
 
         boot_state.delete()