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:
6fee923
)
fix mojito+caiprinha induced typo
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 23 May 2009 03:32:55 +0000
(
03:32
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 23 May 2009 03:32:55 +0000
(
03:32
+0000)
PLC/Methods/GetNodes.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetNodes.py
b/PLC/Methods/GetNodes.py
index
cae07bb
..
f817841
100644
(file)
--- a/
PLC/Methods/GetNodes.py
+++ b/
PLC/Methods/GetNodes.py
@@
-111,7
+111,7
@@
class v42GetNodes(v43GetNodes):
def call(self, auth, node_filter = None, return_fields = None):
# convert nodenetwork_ids -> interface_ids
- if node_filter <> None and isinstance(node_filter, dict)
t, dict)
and \
+ if node_filter <> None and isinstance(node_filter, dict) and \
node_filter.has_key('nodenetwork_ids') and \
not node_filter.has_key('interface_ids'):
node_filter['interface_ids']=node_filter['nodenetwork_ids']