- deleted no longer included in the Node.fields definition
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 3 Oct 2006 19:29:33 +0000 (19:29 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 3 Oct 2006 19:29:33 +0000 (19:29 +0000)
- no need to specify return_fields when instantiating Nodes()

PLC/Methods/AdmGetNodes.py

index 824ecce..c487e80 100644 (file)
@@ -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.