X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetInitScripts.py;h=5a3bf1c855f3ab665cc756a4b4263e96299e6924;hb=bd0cbf4f7f2e4cf7ceda500bfa6f98c0a700018b;hp=d4c1551ffe06fb2ec6f44309811c1647c56263ae;hpb=77e4f177dfee85705c36298c3230b2e4a3e73467;p=plcapi.git diff --git a/PLC/Methods/GetInitScripts.py b/PLC/Methods/GetInitScripts.py index d4c1551..5a3bf1c 100644 --- a/PLC/Methods/GetInitScripts.py +++ b/PLC/Methods/GetInitScripts.py @@ -1,4 +1,3 @@ -# $Id$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -8,10 +7,10 @@ from PLC.Auth import Auth class GetInitScripts(Method): """ - Returns an array of structs containing details about initscripts. - If initscript_filter is specified and is an array of initscript - identifiers, or a struct of initscript attributes, only initscripts - matching the filter will be returned. If return_fields is specified, + Returns an array of structs containing details about initscripts. + If initscript_filter is specified and is an array of initscript + identifiers, or a struct of initscript attributes, only initscripts + matching the filter will be returned. If return_fields is specified, only the specified details will be returned. """ @@ -20,7 +19,7 @@ class GetInitScripts(Method): accepts = [ Auth(), Mixed([Mixed(InitScript.fields['initscript_id'], - InitScript.fields['name'])], + InitScript.fields['name'])], Filter(InitScript.fields)), Parameter([str], "List of fields to return", nullok = True) ]