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:
919599b
)
Add node_id to added_fields
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 10 Mar 2013 03:18:53 +0000
(22:18 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 10 Mar 2013 03:18:53 +0000
(22:18 -0500)
PLC/Methods/GetNodes.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetNodes.py
b/PLC/Methods/GetNodes.py
index
99669e4
..
1afb246
100644
(file)
--- a/
PLC/Methods/GetNodes.py
+++ b/
PLC/Methods/GetNodes.py
@@
-42,7
+42,7
@@
class GetNodes(Method):
# Must query at least slice_ids_whitelist
if return_fields is not None:
- added_fields = set(['slice_ids_whitelist', 'site_id']).difference(return_fields)
+ added_fields = set(['slice_ids_whitelist', 'site_id'
, 'node_id'
]).difference(return_fields)
return_fields += added_fields
else:
added_fields =[]