]> git.parisson.com Git - django-social-auth.git/commitdiff
Fix super() call in exceptions. Closes #305
authorMatías Aguirre <matiasaguirre@gmail.com>
Tue, 3 Apr 2012 10:11:35 +0000 (07:11 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Tue, 3 Apr 2012 10:11:35 +0000 (07:11 -0300)
social_auth/backends/exceptions.py

index 0e8b73a8af5c1031f53cfe83b8a9de12971e86e7..f6bb8623269da966e2b2096fd14ccecd9ce02827 100644 (file)
@@ -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