From: Mark Huang Date: Fri, 20 Oct 2006 00:41:07 +0000 (+0000) Subject: provide return_fields compatibility X-Git-Tag: pycurl-7_13_1~518 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d8bd7cce02652b13ec4eb0740dd9fd062d3b03cd;p=plcapi.git provide return_fields compatibility --- diff --git a/PLC/Methods/AdmGetNodes.py b/PLC/Methods/AdmGetNodes.py index b3618806..74d84892 100644 --- a/PLC/Methods/AdmGetNodes.py +++ b/PLC/Methods/AdmGetNodes.py @@ -2,7 +2,10 @@ from PLC.Methods.GetNodes import GetNodes class AdmGetNodes(GetNodes): """ - Deprecated. See GetNodes. + Deprecated. See GetNodes. All fields are now always returned. """ status = "deprecated" + + def call(self, auth, node_id_or_hostname_list = None, return_fields = None): + return GetNodes.call(self, auth, node_id_or_hostname_list) diff --git a/PLC/Methods/AdmGetPersons.py b/PLC/Methods/AdmGetPersons.py index 521c0ce2..35e94a0e 100644 --- a/PLC/Methods/AdmGetPersons.py +++ b/PLC/Methods/AdmGetPersons.py @@ -6,3 +6,6 @@ class AdmGetPersons(GetPersons): """ status = "deprecated" + + def call(self, auth, person_id_or_email_list = None, return_fields = None): + return GetPersons.call(self, auth, person_id_or_email_list) diff --git a/PLC/Methods/AdmGetSites.py b/PLC/Methods/AdmGetSites.py index 6c7864f9..cf5b0cd6 100644 --- a/PLC/Methods/AdmGetSites.py +++ b/PLC/Methods/AdmGetSites.py @@ -6,3 +6,6 @@ class AdmGetSites(GetSites): """ status = "deprecated" + + def call(self, auth, site_id_or_login_base_list = None, return_fields = None): + return GetSites.call(self, auth, site_id_or_login_base_list)