X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetBootStates.py;h=9105d1256a9260438668cb5fae82f28cfcba7a6f;hb=fba284dd68205aeecbefdfbb255be1dd3aa63583;hp=be77fa3ae9371f4752dc54826ae5b9f22af52c25;hpb=286cdfc25f6ef8fd3e0ed59a175bcf801b14038a;p=plcapi.git diff --git a/PLC/Methods/GetBootStates.py b/PLC/Methods/GetBootStates.py index be77fa3..9105d12 100644 --- a/PLC/Methods/GetBootStates.py +++ b/PLC/Methods/GetBootStates.py @@ -1,4 +1,5 @@ -# $Id# +# $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -17,7 +18,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)]