provide return_fields compatibility
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 00:41:07 +0000 (00:41 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 00:41:07 +0000 (00:41 +0000)
PLC/Methods/AdmGetNodes.py
PLC/Methods/AdmGetPersons.py
PLC/Methods/AdmGetSites.py

index b361880..74d8489 100644 (file)
@@ -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)
index 521c0ce..35e94a0 100644 (file)
@@ -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)
index 6c7864f..cf5b0cd 100644 (file)
@@ -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)