[Python-modules-commits] [python-social-auth] 66/89: Remove unneeded flag and method
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:15:56 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 97c05e580aeea5460ed72fa2a0191ff9d0da4331
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Sun Mar 27 03:06:37 2016 -0300
Remove unneeded flag and method
---
social/backends/pinterest.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/social/backends/pinterest.py b/social/backends/pinterest.py
index 3a90703..f145633 100644
--- a/social/backends/pinterest.py
+++ b/social/backends/pinterest.py
@@ -19,11 +19,6 @@ class PinterestOAuth2(BaseOAuth2):
REDIRECT_STATE = False
ACCESS_TOKEN_METHOD = 'POST'
SSL_PROTOCOL = ssl.PROTOCOL_TLSv1
- FAKE_HTTPS = False
-
- def get_redirect_uri(self, state=None):
- url = super(PinterestOAuth2, self).get_redirect_uri(state)
- return self.FAKE_HTTPS and url.replace('http:', 'https:') or url
def user_data(self, access_token, *args, **kwargs):
response = self.get_json('https://api.pinterest.com/v1/me/',
--
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