From d8bd7cce02652b13ec4eb0740dd9fd062d3b03cd Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 20 Oct 2006 00:41:07 +0000 Subject: [PATCH] provide return_fields compatibility --- PLC/Methods/AdmGetNodes.py | 5 ++++- PLC/Methods/AdmGetPersons.py | 3 +++ PLC/Methods/AdmGetSites.py | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) 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) -- 2.47.0