From: Andy Bavier Date: Tue, 9 Feb 2010 16:32:41 +0000 (+0000) Subject: (no commit message) X-Git-Tag: sfa-0.9-11~122 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=2ebd6bdff85bcc07e806388542b4c9684df281ac --- diff --git a/sfa/plc/network.py b/sfa/plc/network.py index 16a44676..d5ef4069 100644 --- a/sfa/plc/network.py +++ b/sfa/plc/network.py @@ -144,7 +144,8 @@ class Slice: def get_nodes(self): n = [] for id in self.node_ids: - n.append(self.network.nodes[id]) + if id in self.network.nodes: + n.append(self.network.nodes[id]) return n # Add a new slice tag