forgotten self in super calls

This commit is contained in:
Valentin Samir 2015-05-29 19:31:04 +02:00
parent ff74a07965
commit ec85174fc4
1 changed files with 2 additions and 2 deletions

View File

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