git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4163b1
)
Fixing my last commit.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Sat, 14 Nov 2009 01:22:56 +0000
(
01:22
+0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Sat, 14 Nov 2009 01:22:56 +0000
(
01:22
+0000)
sfa/plc/nodes.py
patch
|
blob
|
history
diff --git
a/sfa/plc/nodes.py
b/sfa/plc/nodes.py
index
6d3ce7c
..
c3f6a26
100644
(file)
--- a/
sfa/plc/nodes.py
+++ b/
sfa/plc/nodes.py
@@
-195,7
+195,7
@@
class Nodes(SimpleStorage):
public_nodes = lambda n: n.has_key('slice_ids_whitelist') and not n['slice_ids_whitelist']
# ...only if they are not already assigned to this slice.
- if (slicename):
+ if (
not
slicename):
nodes = filter(public_nodes, nodes)
# Get all network interfaces