git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5a5e8
)
Return formatted XML
author
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:41:38 +0000
(21:41 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:41:38 +0000
(21:41 +0000)
sfa/rspecs/aggregates/vini/utils.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/aggregates/vini/utils.py
b/sfa/rspecs/aggregates/vini/utils.py
index
328e3ff
..
495256e
100644
(file)
--- a/
sfa/rspecs/aggregates/vini/utils.py
+++ b/
sfa/rspecs/aggregates/vini/utils.py
@@
-614,7
+614,7
@@
class Topology:
Produce XML directly from the topology specification.
"""
def toxml(self, hrn = None):
- xml = XMLBuilder()
+ xml = XMLBuilder(
format = True, tab_step = " "
)
with xml.RSpec(type="VINI"):
if hrn:
element = xml.network(name="Public_VINI", slice=hrn)