[Python-modules-commits] [python-social-auth] 71/89: Fix pocket 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 ba0763a5b0d2b86cd12732c65337ed7e4101c755
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Mon Mar 28 03:02:04 2016 -0300

    Fix pocket 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 3ea640c..49b73d5 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('POCKET_KEY'),
+            'consumer_key': self.setting('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('POCKET_KEY'),
+            'consumer_key': self.setting('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