summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2010-06-04 18:45:02 +0000
committerDoug Goldstein <cardoe@gentoo.org>2010-06-04 18:45:02 +0000
commiteb05a6bda6e055712318cf88dd3182e6493d113a (patch)
treea5d10e7bacea74b4756f053fdc5756da7055cd39 /app-emulation/virt-manager/files
parentVersion bump. (diff)
downloadgentoo-2-eb05a6bda6e055712318cf88dd3182e6493d113a.tar.gz
gentoo-2-eb05a6bda6e055712318cf88dd3182e6493d113a.tar.bz2
gentoo-2-eb05a6bda6e055712318cf88dd3182e6493d113a.zip
Applied patch from upstream to fix customize dialog erroring in xmlParseDoc(). Thanks to Dennis Schridde <devurandom@gmx.net> finding this one. bug #322095
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virt-manager/files')
-rw-r--r--app-emulation/virt-manager/files/virt-manager-0.8.4-customize-dialog-xmlparsedoc.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-emulation/virt-manager/files/virt-manager-0.8.4-customize-dialog-xmlparsedoc.patch b/app-emulation/virt-manager/files/virt-manager-0.8.4-customize-dialog-xmlparsedoc.patch
new file mode 100644
index 000000000000..7d3c7c4b95bb
--- /dev/null
+++ b/app-emulation/virt-manager/files/virt-manager-0.8.4-customize-dialog-xmlparsedoc.patch
@@ -0,0 +1,23 @@
+
+# HG changeset patch
+# User Cole Robinson <crobinso@redhat.com>
+# Date 1273168456 14400
+# Node ID f2d3931243fe7576701dec6deddf19cfc0145409
+# Parent beb2272277eecd4bdc4015c905edf0b910bf9fa8
+Fix livecd 'customize before install' traceback
+
+--- a/src/virtManager/domain.py Wed May 05 16:46:46 2010 -0400
++++ b/src/virtManager/domain.py Thu May 06 13:54:16 2010 -0400
+@@ -1990,7 +1990,10 @@
+ return libvirt.VIR_DOMAIN_SHUTOFF
+
+ def get_xml(self):
+- return self._backend.get_config_xml()
++ xml = self._backend.get_config_xml()
++ if not xml:
++ xml = self._backend.get_config_xml(install=False)
++ return xml
+ def _get_inactive_xml(self):
+ return self.get_xml()
+
+