From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has uploaded a new change for review.

Change subject: pylint: bindingxmlrpc: exception should inherit from Exception
......................................................................

pylint: bindingxmlrpc: exception should inherit from Exception

Change-Id: Iff8c2a8557a50921f911797c824eaf30898c75ba
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M lib/vdsm/rpc/bindingxmlrpc.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/69341/1

diff --git a/lib/vdsm/rpc/bindingxmlrpc.py b/lib/vdsm/rpc/bindingxmlrpc.py
index d40090f..5490c84 100644
--- a/lib/vdsm/rpc/bindingxmlrpc.py
+++ b/lib/vdsm/rpc/bindingxmlrpc.py
@@ -112,7 +112,7 @@
             HEADER_CONTENT_TYPE = 'content-type'
             HEADER_CONTENT_RANGE = 'content-range'
 
-            class RequestException():
+            class RequestException(Exception):
                 def __init__(self, httpStatusCode, errorMessage):
                     self.httpStatusCode = httpStatusCode
                     self.errorMessage = errorMessage


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff8c2a8557a50921f911797c824eaf30898c75ba
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to