git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
return only the rspec for the slice
[sfa.git]
/
sfa
/
plc
/
network.py
diff --git
a/sfa/plc/network.py
b/sfa/plc/network.py
index
94f6e04
..
b3e0d05
100644
(file)
--- 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 = '<?xml version="1.0"?>\n'
return header + str(xml)