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
Update Person HRN when Person's email is updated
[plcapi.git]
/
PLC
/
Methods
/
AddBootState.py
diff --git
a/PLC/Methods/AddBootState.py
b/PLC/Methods/AddBootState.py
index
080c2be
..
522fd25
100644
(file)
--- a/
PLC/Methods/AddBootState.py
+++ b/
PLC/Methods/AddBootState.py
@@
-20,10
+20,7
@@
class AddBootState(Method):
returns = Parameter(int, '1 if successful')
- event_type = 'Add'
- object_type = 'BootState'
- object_ids = []
-
+
def call(self, auth, name):
boot_state = BootState(self.api)
boot_state['boot_state'] = name