[Python-modules-commits] [python-social-auth] 05/89: Remove unused response arg from user_data method of yandex backend

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:51 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 9e653b2b72d2bf39d92e7d1d36a14cfb2b249435
Author: Sergey Petrov <desoulate777 at gmail.com>
Date:   Thu Nov 12 13:48:51 2015 +0300

    Remove unused response arg from user_data method of yandex backend
---
 social/backends/yandex.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/social/backends/yandex.py b/social/backends/yandex.py
index 144ee5c..ab53366 100644
--- a/social/backends/yandex.py
+++ b/social/backends/yandex.py
@@ -48,7 +48,7 @@ class YandexOAuth2(BaseOAuth2):
                 'first_name': first_name,
                 'last_name': last_name}
 
-    def user_data(self, access_token, response, *args, **kwargs):
+    def user_data(self, access_token, *args, **kwargs):
         return self.get_json('https://login.yandex.ru/info',
                              params={'oauth_token': access_token,
                                      'format': 'json'})
@@ -72,7 +72,7 @@ class YaruOAuth2(BaseOAuth2):
                 'first_name': first_name,
                 'last_name': last_name}
 
-    def user_data(self, access_token, response, *args, **kwargs):
+    def user_data(self, access_token, *args, **kwargs):
         return self.get_json('https://login.yandex.ru/info',
                              params={'oauth_token': access_token,
                                      'format': 'json'})

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