Fix ClientSideError constructor
This commit is contained in:
@@ -4,8 +4,8 @@ from wsme.utils import _
|
|||||||
|
|
||||||
|
|
||||||
class ClientSideError(RuntimeError):
|
class ClientSideError(RuntimeError):
|
||||||
def __init__(self):
|
def __init__(self, msg=None):
|
||||||
super(ClientSideError, self).__init__(self.faultstring)
|
super(ClientSideError, self).__init__(msg if msg else self.faultstring)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def faultstring(self):
|
def faultstring(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user