[Python-modules-commits] [python-social-auth] 18/61: Remove debug printing from BaseOAuth2 backend
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:14:02 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 0fb28df4fc6af244ae401c6fe661494483bb46ce
Author: Georgy Cheshkov <georgy at cheshkov.com>
Date: Tue Jul 21 19:02:21 2015 +0300
Remove debug printing from BaseOAuth2 backend
---
social/backends/oauth.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/social/backends/oauth.py b/social/backends/oauth.py
index 0396495..a73508a 100644
--- a/social/backends/oauth.py
+++ b/social/backends/oauth.py
@@ -382,7 +382,6 @@ class BaseOAuth2(OAuthAuth):
auth=self.auth_complete_credentials(),
method=self.ACCESS_TOKEN_METHOD
)
- print(dict(response))
self.process_error(response)
return self.do_auth(response['access_token'], response=response,
*args, **kwargs)
@@ -390,8 +389,6 @@ class BaseOAuth2(OAuthAuth):
@handle_http_errors
def do_auth(self, access_token, *args, **kwargs):
"""Finish the auth process once the access_token was retrieved"""
- print(args)
- print(kwargs)
data = self.user_data(access_token, *args, **kwargs)
response = kwargs.get('response') or {}
response.update(data or {})
--
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