git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd340bd
)
- deleted no longer included in the Node.fields definition
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 3 Oct 2006 19:29:33 +0000
(19:29 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/PLC/Methods/AdmGetNodes.py
b/PLC/Methods/AdmGetNodes.py
index
824ecce
..
c487e80
100644
(file)
--- 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.