[Python-modules-commits] [python-social-auth] 129/131: Remove leading space in authorization header

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:17:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.20
in repository python-social-auth.

commit 7d42b05e83494e44e7d6aa0ce250f0d61db9d8d5
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Thu Aug 11 20:39:41 2016 -0300

    Remove leading space in authorization header
---
 social/backends/dribbble.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/backends/dribbble.py b/social/backends/dribbble.py
index e1c3eee..ab6d0e5 100644
--- a/social/backends/dribbble.py
+++ b/social/backends/dribbble.py
@@ -58,5 +58,5 @@ class DribbbleOAuth2(BaseOAuth2):
         return self.get_json(
             'https://api.dribbble.com/v1/user',
             headers={
-                'Authorization': ' Bearer {0}'.format(access_token)
+                'Authorization': 'Bearer {0}'.format(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