[libvirt] [v2 1/4] Fix typo s/type/managed

Marc-André Lureau marcandre.lureau at gmail.com
Mon Aug 29 20:13:22 UTC 2011


---
 virtinst/VirtualHostDevice.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/virtinst/VirtualHostDevice.py b/virtinst/VirtualHostDevice.py
index d0c1544..2175266 100644
--- a/virtinst/VirtualHostDevice.py
+++ b/virtinst/VirtualHostDevice.py
@@ -120,7 +120,7 @@ class VirtualHostDevice(VirtualDevice.VirtualDevice):
         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")
-- 
1.7.6




More information about the libvir-list mailing list