From: Matías Aguirre Date: Tue, 3 Apr 2012 10:11:35 +0000 (-0300) Subject: Fix super() call in exceptions. Closes #305 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3a3eb02f81b8954eeb73f6a346012067e9164f24;p=django-social-auth.git Fix super() call in exceptions. Closes #305 --- 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