From 9915bbc9188224c2b82a0a6b8dba206622fced86 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 21 Apr 2010 01:20:41 +0000 Subject: [PATCH] return only the rspec for the slice --- sfa/plc/network.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sfa/plc/network.py b/sfa/plc/network.py index 94f6e04a..b3e0d051 100644 --- a/sfa/plc/network.py +++ b/sfa/plc/network.py @@ -509,8 +509,9 @@ class Network: with element: if self.slice: self.slice.toxml(xml) - for site in self.getSites(): - site.toxml(xml) + else: + for site in self.getSites(): + site.toxml(xml) header = '\n' return header + str(xml) -- 2.43.0