trailing spaces in sql schema
[plcapi.git] / PLC / Methods / DeleteBootState.py
index b7bce21..84f24c5 100644 (file)
@@ -23,10 +23,11 @@ class DeleteBootState(Method):
 
     returns = Parameter(int, '1 if successful')
 
+
     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()