[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


[KVM ARM]     [KVM ia64]     [KVM ppc]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux