forgotten self in super calls

This commit is contained in:
Valentin Samir 2015-05-29 19:31:04 +02:00
parent ff74a07965
commit ec85174fc4

View File

@ -312,7 +312,7 @@ class ValidateError(Exception):
def __init__(self, code, msg=""):
self.code = code
self.msg = msg
super(ValidateError).__init__(code)
super(ValidateError, self).__init__(code)
def __unicode__(self):
return u"%s" % self.msg
@ -516,7 +516,7 @@ class SamlValidateError(Exception):
def __init__(self, code, msg=""):
self.code = code
self.msg = msg
super(SamlValidateError).__init__(code)
super(SamlValidateError, self).__init__(code)
def __unicode__(self):
return u"%s" % self.msg