From: Sapan Bhatia Date: Sat, 14 Nov 2009 01:22:56 +0000 (+0000) Subject: Fixing my last commit. X-Git-Tag: sfa-0.9-6~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b8afeba080304aa958d500295c030d1e218162b0;hp=a4163b17b8d6eee02458b170ca1a080fc336bba9;p=sfa.git Fixing my last commit. --- diff --git a/sfa/plc/nodes.py b/sfa/plc/nodes.py index 6d3ce7c0..c3f6a26e 100644 --- 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