[Python-modules-commits] [python-social-auth] 69/89: Amend pocket backend key name

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


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

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

commit 2185a15d9cc651561eaa324c6daa30a7f4c46f05
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Mon Mar 28 02:47:42 2016 -0300

    Amend pocket backend key name
---
 social/backends/pocket.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/social/backends/pocket.py b/social/backends/pocket.py
index b86960e..3ea640c 100644
--- a/social/backends/pocket.py
+++ b/social/backends/pocket.py
@@ -26,7 +26,7 @@ class PocketAuth(BaseAuth):
 
     def auth_url(self):
         data = {
-            'consumer_key': self.setting('SOCIAL_AUTH_POCKET_KEY'),
+            'consumer_key': self.setting('POCKET_KEY'),
             'redirect_uri': self.redirect_uri,
         }
         token = self.get_json(self.REQUEST_TOKEN_URL, data=data)['code']
@@ -37,7 +37,7 @@ class PocketAuth(BaseAuth):
     @handle_http_errors
     def auth_complete(self, *args, **kwargs):
         data = {
-            'consumer_key': self.setting('SOCIAL_AUTH_POCKET_KEY'),
+            'consumer_key': self.setting('POCKET_KEY'),
             'code': self.strategy.session_get('pocket_request_token'),
         }
         response = self.get_json(self.ACCESS_TOKEN_URL, data=data)

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