From: Andy Bavier Date: Wed, 27 Jan 2010 21:41:38 +0000 (+0000) Subject: Return formatted XML X-Git-Tag: sfa-0.9-11~190 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a889b33e53462fb591fdaffd88ca579db6c0d6e3;p=sfa.git Return formatted XML --- diff --git a/sfa/rspecs/aggregates/vini/utils.py b/sfa/rspecs/aggregates/vini/utils.py index 328e3ff4..495256eb 100644 --- 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)