6505c36ecc
virtman-netstats-fix.diff virtman-finish-button-fix.diff virtman-shutoff-fix.diff virtman-set-has-window-fix.diff virtman-grep-fix.diff virtman-no-cd-present-fix.diff virtman-resize-menu-fix.diff virtman-vcpu-count-fix.diff virtman-storage-pool-fix.diff virtman-domain-name-fix.diff virtman-unapplied-changes-fix.diff virtman-details-fix.diff virtman-delete-fix.diff virtman-collidelist-fix.diff virtman-char-device-mode-fix.diff virtinst-hv-version-fix.diff virtinst-initrd-inject-fix.diff virtinst-initrd-inject2-fix.diff virtinst-no-volume-fix.diff virtinst-prompts-fix.diff virtinst-cpu-model-name-fix.diff virtinst-xml-clear-fix.diff virtinst-remote-storage-fix.diff virtinst-error-message-fix.diff virtinst-typo-fix.diff virtinst-cdrom.diff virtinst-storage-ocfs2.diff OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=63
21 lines
894 B
Diff
21 lines
894 B
Diff
|
|
Subject: Fix typo s/type/managed
|
|
From: Marc-André Lureau marcandre.lureau@gmail.com Fri Sep 2 03:21:16 2011 +0200
|
|
Date: Mon Sep 12 13:06:40 2011 -0400:
|
|
Git: 7a1966edb2182c3219f1646e39528a6db8a4f99f
|
|
|
|
|
|
Index: virtinst-0.600.0/virtinst/VirtualHostDevice.py
|
|
===================================================================
|
|
--- virtinst-0.600.0.orig/virtinst/VirtualHostDevice.py
|
|
+++ virtinst-0.600.0/virtinst/VirtualHostDevice.py
|
|
@@ -120,7 +120,7 @@ class VirtualHostDevice(VirtualDevice.Vi
|
|
return self._managed
|
|
def set_managed(self, val):
|
|
self._managed = bool(val)
|
|
- managed = _xml_property(get_type, set_type,
|
|
+ managed = _xml_property(get_managed, set_managed,
|
|
get_converter=lambda s, x: bool(x == "yes"),
|
|
set_converter=lambda s, x: x and "yes" or "no",
|
|
xpath="./@managed")
|