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
just autopep8'ed refreshpeer
[plcapi.git]
/
PLC
/
Methods
/
DeleteBootState.py
diff --git
a/PLC/Methods/DeleteBootState.py
b/PLC/Methods/DeleteBootState.py
index
4773d60
..
1bea3db
100644
(file)
--- a/
PLC/Methods/DeleteBootState.py
+++ b/
PLC/Methods/DeleteBootState.py
@@
-23,8
+23,6
@@
class DeleteBootState(Method):
returns = Parameter(int, '1 if successful')
- event_type = 'Delete'
- object_type = 'BootState'
def call(self, auth, name):
boot_states = BootStates(self.api, [name])
@@
-33,5
+31,5
@@
class DeleteBootState(Method):
boot_state = boot_states[0]
boot_state.delete()
-
+
return 1