[Python-modules-commits] [python-social-auth] 11/61: Meetup PEP8 and link docs

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:01 UTC 2016


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

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

commit fe1c56c26254612cddd38caf41e60019e04cb416
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Wed Jul 15 14:14:59 2015 -0300

    Meetup PEP8 and link docs
---
 docs/backends/index.rst   | 1 +
 social/backends/meetup.py | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/backends/index.rst b/docs/backends/index.rst
index ec66b1d..ad0452a 100644
--- a/docs/backends/index.rst
+++ b/docs/backends/index.rst
@@ -91,6 +91,7 @@ Social backends
    loginradius
    mailru
    mapmyfitness
+   meetup
    mendeley
    mineid
    mixcloud
diff --git a/social/backends/meetup.py b/social/backends/meetup.py
index 8463a54..2978697 100644
--- a/social/backends/meetup.py
+++ b/social/backends/meetup.py
@@ -2,16 +2,16 @@
 Meetup OAuth2 backend, docs at:
     http://psa.matiasaguirre.net/docs/backends/meetup.html
 """
-from social.p3 import urlencode
 from social.backends.oauth import BaseOAuth2
 
+
 class MeetupOAuth2(BaseOAuth2):
     """Meetup OAuth2 authentication backend"""
     name = 'meetup'
     AUTHORIZATION_URL = 'https://secure.meetup.com/oauth2/authorize'
     ACCESS_TOKEN_URL = 'https://secure.meetup.com/oauth2/access'
     ACCESS_TOKEN_METHOD = 'POST'
-    DEFAULT_SCOPE = ['basic',]
+    DEFAULT_SCOPE = ['basic']
     SCOPE_SEPARATOR = ','
     REDIRECT_STATE = False
     STATE_PARAMETER = 'state'
@@ -32,4 +32,3 @@ class MeetupOAuth2(BaseOAuth2):
         """Loads user data from service"""
         return self.get_json('https://api.meetup.com/2/member/self',
                              params={'access_token': access_token})
-

-- 
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