- re-enable return_fields specification
[plcapi.git] / PLC / Methods / DeleteBootState.py
index b516ef1..b7bce21 100644 (file)
@@ -27,7 +27,7 @@ class DeleteBootState(Method):
         boot_states = BootStates(self.api, [name])
         if not boot_states:
             raise PLCInvalidArgument, "No such boot state"
-        boot_state = boot_states.values()[0]
+        boot_state = boot_states[0]
 
         boot_state.delete()