https://bugzilla.novell.com/show_bug.cgi?id=681302
https://bugzilla.novell.com/show_bug.cgi?id=681302#c1
Charles Arnold changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Charles Arnold 2011-03-21 16:07:27 UTC ---
The fix.
--- ./python2.7/site-packages/xen/xm/create.py 2011-03-21 10:01:01.000000000
-0600
+++ ./python2.7/site-packages/xen/xm/create.py 2011-03-21 10:01:53.000000000
-0600
@@ -1531,8 +1550,8 @@ def main(argv):
SXPPrettyPrint.prettyprint(config)
if opts.vals.xmldryrun:
- from xml.dom.ext import PrettyPrint as XMLPrettyPrint
- XMLPrettyPrint(doc)
+ xml_as_string = doc.toprettyxml()
+ print("%s" % xml_as_string)
if opts.vals.dryrun or opts.vals.xmldryrun:
return
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.