Return formatted XML
authorAndy Bavier <acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:41:38 +0000 (21:41 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:41:38 +0000 (21:41 +0000)
sfa/rspecs/aggregates/vini/utils.py

index 328e3ff..495256e 100644 (file)
@@ -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)