From: Mark Huang Date: Tue, 3 Oct 2006 19:29:33 +0000 (+0000) Subject: - deleted no longer included in the Node.fields definition X-Git-Tag: pycurl-7_13_1~669 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8a94f2861ecd3288cdd6da654483a29988b0a850;p=plcapi.git - deleted no longer included in the Node.fields definition - no need to specify return_fields when instantiating Nodes() --- diff --git a/PLC/Methods/AdmGetNodes.py b/PLC/Methods/AdmGetNodes.py index 824ecce7..c487e800 100644 --- a/PLC/Methods/AdmGetNodes.py +++ b/PLC/Methods/AdmGetNodes.py @@ -51,7 +51,7 @@ class AdmGetNodes(Method): raise PLCInvalidArgument, "Invalid return field specified" # Get node information - nodes = Nodes(self.api, node_id_or_hostname_list, return_fields).values() + nodes = Nodes(self.api, node_id_or_hostname_list).values() # Filter out undesired or None fields (XML-RPC cannot marshal # None) and turn each node into a real dict.