X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetSites.py;h=d277c28333a6ad2b44713ca0b4c94a20c38a60c1;hb=1c79f1372a14b9573282c653065253bcf65b734e;hp=69dfc34a7b9dd6c64313f7b32c2e1ab63f95fc23;hpb=77e4f177dfee85705c36298c3230b2e4a3e73467;p=plcapi.git diff --git a/PLC/Methods/GetSites.py b/PLC/Methods/GetSites.py index 69dfc34..d277c28 100644 --- a/PLC/Methods/GetSites.py +++ b/PLC/Methods/GetSites.py @@ -1,4 +1,3 @@ -# $Id$ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Filter import Filter @@ -20,10 +19,10 @@ class GetSites(Method): Auth(), Mixed([Mixed(Site.fields['site_id'], Site.fields['login_base'])], - Parameter(str,"login_base"), + Parameter(str,"login_base"), Parameter(int,"site_id"), Filter(Site.fields)), - Parameter([str], "List of fields to return", nullok = True) + Parameter([str], "List of fields to return", nullok = True) ] returns = [Site.fields]