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
Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git]
/
PLC
/
Methods
/
DeleteBootState.py
diff --git
a/PLC/Methods/DeleteBootState.py
b/PLC/Methods/DeleteBootState.py
index
b7bce21
..
507fc7b
100644
(file)
--- a/
PLC/Methods/DeleteBootState.py
+++ b/
PLC/Methods/DeleteBootState.py
@@
-23,6
+23,7
@@
class DeleteBootState(Method):
returns = Parameter(int, '1 if successful')
+
def call(self, auth, name):
boot_states = BootStates(self.api, [name])
if not boot_states:
@@
-30,5
+31,5
@@
class DeleteBootState(Method):
boot_state = boot_states[0]
boot_state.delete()
-
+
return 1