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
use hrn to re-create pubsub groups
[plcapi.git]
/
PLC
/
Methods
/
AddBootState.py
diff --git
a/PLC/Methods/AddBootState.py
b/PLC/Methods/AddBootState.py
index
d27e01f
..
3e11087
100644
(file)
--- a/
PLC/Methods/AddBootState.py
+++ b/
PLC/Methods/AddBootState.py
@@
-1,4
+1,5
@@
-# $Id#
+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-21,7
+22,7
@@
class AddBootState(Method):
returns = Parameter(int, '1 if successful')
returns = Parameter(int, '1 if successful')
-
+
def call(self, auth, name):
boot_state = BootState(self.api)
boot_state['boot_state'] = name
def call(self, auth, name):
boot_state = BootState(self.api)
boot_state['boot_state'] = name