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
- re-enable return_fields specification
[plcapi.git]
/
PLC
/
Methods
/
DeleteBootState.py
diff --git
a/PLC/Methods/DeleteBootState.py
b/PLC/Methods/DeleteBootState.py
index
b516ef1
..
b7bce21
100644
(file)
--- a/
PLC/Methods/DeleteBootState.py
+++ b/
PLC/Methods/DeleteBootState.py
@@
-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()