From 3a3eb02f81b8954eeb73f6a346012067e9164f24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Tue, 3 Apr 2012 07:11:35 -0300 Subject: [PATCH] Fix super() call in exceptions. Closes #305 --- social_auth/backends/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/social_auth/backends/exceptions.py b/social_auth/backends/exceptions.py index 0e8b73a..f6bb862 100644 --- a/social_auth/backends/exceptions.py +++ b/social_auth/backends/exceptions.py @@ -34,14 +34,14 @@ class AuthCanceled(AuthException): class AuthUnknownError(AuthException): """Unknown auth process error.""" def __unicode__(self): - msg = super(AuthFailed, self).__unicode__() + msg = super(AuthUnknownError, self).__unicode__() return u'An unknown error happened while authenticating %s' % msg class AuthTokenError(AuthException): """Auth token error.""" def __unicode__(self): - msg = super(AuthFailed, self).__unicode__() + msg = super(AuthTokenError, self).__unicode__() return u'Token error: %s' % msg -- 2.39.5