From: Andy Bavier Date: Tue, 9 Feb 2010 16:23:11 +0000 (+0000) Subject: (no commit message) X-Git-Tag: sfa-0.9-11~124 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=d5ef82d44f8ac88245c1ebe0e7e912b29cfe648c --- diff --git a/sfa/plc/network.py b/sfa/plc/network.py index 1c204ce5..16a44676 100644 --- a/sfa/plc/network.py +++ b/sfa/plc/network.py @@ -72,7 +72,9 @@ class Node: with xml.node(id = self.idtag): with xml.hostname: xml << self.hostname - self.get_primary_iface().toxml(xml) + iface = self.get_primary_iface() + if iface: + iface.toxml(xml) if self.sliver: self.sliver.toxml(xml)