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
/
GetBootStates.py
diff --git
a/PLC/Methods/GetBootStates.py
b/PLC/Methods/GetBootStates.py
index
a2015cb
..
35537be
100644
(file)
--- a/
PLC/Methods/GetBootStates.py
+++ b/
PLC/Methods/GetBootStates.py
@@
-1,4
+1,3
@@
-# $Id$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-17,7
+16,7
@@
class GetBootStates(Method):
]
returns = [BootState.fields['boot_state']]
-
+
def call(self, auth):
return [boot_state['boot_state'] for boot_state in BootStates(self.api)]