[PATCH 2/3] virt.qemu_io: Make QemuIO inherit from object

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

 



Constructs like

MyClass():

Without explicit inheritance are not allowed on py 2.4.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx>
---
 client/virt/qemu_io.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/virt/qemu_io.py b/client/virt/qemu_io.py
index 8f56f4d..7c0b10a 100644
--- a/client/virt/qemu_io.py
+++ b/client/virt/qemu_io.py
@@ -12,7 +12,7 @@ class QemuIOParamError(Exception):
     pass
 
 
-class QemuIO():
+class QemuIO(object):
     """
     A class for execute qemu-io command
     """
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux