[Python-modules-commits] [python-social-auth] 48/322: PEP8

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit e342d258764194c10ea9369d9bfc329b6bc8e7d0
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Sat Nov 22 13:07:22 2014 -0200

    PEP8
---
 social/storage/django_orm.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/social/storage/django_orm.py b/social/storage/django_orm.py
index 8d89e4f..8d9e672 100644
--- a/social/storage/django_orm.py
+++ b/social/storage/django_orm.py
@@ -71,10 +71,8 @@ class DjangoUserMixin(UserMixin):
     @classmethod
     def get_users_by_email(cls, email):
         user_model = cls.user_model()
-        
         email_field = getattr(user_model, 'EMAIL_FIELD', 'email')
-        
-        return user_model.objects.filter(**{email_field+'__iexact': email})
+        return user_model.objects.filter(**{email_field + '__iexact': email})
 
     @classmethod
     def get_social_auth(cls, provider, uid):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list