Permalink
Browse files

Fix super() call in exceptions. Closes #305

  • Loading branch information...
1 parent dae15ae commit 3a3eb02f81b8954eeb73f6a346012067e9164f24 @omab committed Apr 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 social_auth/backends/exceptions.py
@@ -34,14 +34,14 @@ def __unicode__(self):
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

0 comments on commit 3a3eb02

Please sign in to comment.