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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]