From ec85174fc4c92260ddfabd3cebb1d053a869ed3e Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 29 May 2015 19:31:04 +0200 Subject: [PATCH] forgotten self in super calls --- cas_server/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cas_server/views.py b/cas_server/views.py index 9f21249..6ef928c 100644 --- a/cas_server/views.py +++ b/cas_server/views.py @@ -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