Change in vdsm[master]: virt: make virdomain.Notifying inherit from object

fromani at redhat.com fromani at redhat.com
Mon Aug 17 13:49:22 UTC 2015


Francesco Romani has uploaded a new change for review.

Change subject: virt: make virdomain.Notifying inherit from object
......................................................................

virt: make virdomain.Notifying inherit from object

The only known reason virdomain.Notifying()
is not inheriting from object is legacy.
Let's fix this.

X-Backport-To: 3.6
Change-Id: I325a335d0cae2031096da3d308ef9bc07366fc9a
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/virdomain.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/36/44936/1

diff --git a/vdsm/virt/virdomain.py b/vdsm/virt/virdomain.py
index bc31bc6..f8b3398 100644
--- a/vdsm/virt/virdomain.py
+++ b/vdsm/virt/virdomain.py
@@ -46,7 +46,7 @@
                                 % self.vmid)
 
 
-class Notifying:
+class Notifying(object):
     # virDomain wrapper that notifies vm when a method raises an exception with
     # get_error_code() = VIR_ERR_OPERATION_TIMEOUT
 


-- 
To view, visit https://gerrit.ovirt.org/44936
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I325a335d0cae2031096da3d308ef9bc07366fc9a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list