From: Matías Aguirre Date: Mon, 4 Jun 2012 17:27:38 +0000 (-0300) Subject: PEP8 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3b8114bddd43030df37321c2ca79cc4a84a82c7c;p=django-social-auth.git PEP8 --- diff --git a/social_auth/backends/pipeline/social.py b/social_auth/backends/pipeline/social.py index bf45354..dc7d30b 100644 --- a/social_auth/backends/pipeline/social.py +++ b/social_auth/backends/pipeline/social.py @@ -22,9 +22,10 @@ def social_auth_user(backend, uid, user=None, *args, **kwargs): if social_user: if user and social_user.user != user: - raise AuthException(backend, ugettext('This %(provider)s account is already in use.') % { - 'provider':backend.name, - }) + raise AuthException(backend, + ugettext('This %(provider)s account is already in use.') % { + 'provider': backend.name + }) elif not user: user = social_user.user return {'social_user': social_user, 'user': user}