Change in vdsm[master]: tests: inherit from object

fromani at redhat.com fromani at redhat.com
Tue Sep 29 14:09:06 UTC 2015


Francesco Romani has uploaded a new change for review.

Change subject: tests: inherit from object
......................................................................

tests: inherit from object

We are still on python 2.x, so all classes should inherit from object,
unless there is a crystal clear case NOT to do so.

Change-Id: I57b5aaeb275ffe1f7314a3b44ee764e61903338c
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M tests/integration/jsonRpcHelper.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/01/46801/1

diff --git a/tests/integration/jsonRpcHelper.py b/tests/integration/jsonRpcHelper.py
index 5f538b9..73e5758 100644
--- a/tests/integration/jsonRpcHelper.py
+++ b/tests/integration/jsonRpcHelper.py
@@ -148,7 +148,7 @@
         yield clientFactory
 
 
-class XMLClient():
+class XMLClient(object):
     def __init__(self, socket):
         self.socket = socket
         self.transport = CustomTransport(socket)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I57b5aaeb275ffe1f7314a3b44ee764e61903338c
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