diff options
Diffstat (limited to 'app-emulation/xen-tools/files/xen-tools-4.1.2-pyxml.patch')
-rw-r--r-- | app-emulation/xen-tools/files/xen-tools-4.1.2-pyxml.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/files/xen-tools-4.1.2-pyxml.patch b/app-emulation/xen-tools/files/xen-tools-4.1.2-pyxml.patch new file mode 100644 index 0000000..5b14e4c --- /dev/null +++ b/app-emulation/xen-tools/files/xen-tools-4.1.2-pyxml.patch @@ -0,0 +1,12 @@ +--- tools/python/xen/xm/create.py ++++ tools/python/xen/xm/create.py +@@ -1538,6 +1538,9 @@ + SXPPrettyPrint.prettyprint(config) + + if opts.vals.xmldryrun and serverType == SERVER_XEN_API: ++ import xml ++ if hasattr(xml, "use_pyxml"): ++ xml.use_pyxml() + from xml.dom.ext import PrettyPrint as XMLPrettyPrint + XMLPrettyPrint(doc) + |