]> git.parisson.com Git - django-social-auth.git/commitdiff
PEP8
authorMatías Aguirre <matiasaguirre@gmail.com>
Mon, 4 Jun 2012 17:27:38 +0000 (14:27 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Mon, 4 Jun 2012 17:27:38 +0000 (14:27 -0300)
social_auth/backends/pipeline/social.py

index bf45354cfca4b248368d0a7d3b1bbf0c5c491c85..dc7d30bc63de4cbf4f75cc65fee83f4706ffd1d3 100644 (file)
@@ -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}