git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
140300a
)
Merge commit 'origin/master'
author
root
<root@blitz.inria.fr>
Mon, 28 Mar 2011 21:04:44 +0000
(23:04 +0200)
committer
root
<root@blitz.inria.fr>
Mon, 28 Mar 2011 21:04:44 +0000
(23:04 +0200)
sfa/plc/network.py
patch
|
blob
|
history
diff --git
a/sfa/plc/network.py
b/sfa/plc/network.py
index
d0e0e08
..
c84ffa5
100644
(file)
--- a/
sfa/plc/network.py
+++ b/
sfa/plc/network.py
@@
-570,10
+570,8
@@
class Network:
tmp = []
for node in api.plshell.GetNodes(api.plauth, {'peer_id': None}):
try:
- nodeObj = Node(self, node)
- if nodeObj.site != None:
- t = node['node_id'], nodeObj
- tmp.append(t)
+ t = node['node_id'], Node(self, node)
+ tmp.append(t)
except:
self.api.logger.error("Failed to add node %s (%s) to RSpec" % (node['hostname'], node['node_id']))