[Python-modules-commits] [python-social-auth] 10/89: convert to useing 2.6 string replacement

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 01e4ee459b331b1895639fe361f57a2d62c492d0
Author: Buddy Lindsey, Jr <blindsey at summitesp.com>
Date:   Sat Dec 26 17:50:19 2015 -0600

    convert to useing 2.6 string replacement
---
 social/backends/drip.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/backends/drip.py b/social/backends/drip.py
index af1f6b3..96ae934 100644
--- a/social/backends/drip.py
+++ b/social/backends/drip.py
@@ -22,4 +22,4 @@ class DripOAuth(BaseOAuth2):
     def user_data(self, access_token, *args, **kwargs):
         return self.get_json(
             'https://api.getdrip.com/v2/user',
-            headers={'Authorization': 'Bearer {}'.format(access_token)})
+            headers={'Authorization': 'Bearer %s' % access_token})

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