[Python-modules-commits] [python-social-auth] 79/322: update in a way that will be more future proof

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:51 UTC 2016


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

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

commit e044e10d112f11a8ffc72658c695b0a56f787f18
Author: Nick Sullivan <nick at sullivanflock.com>
Date:   Wed Jan 7 10:26:33 2015 -0800

    update in a way that will be more future proof
---
 social/backends/slack.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/social/backends/slack.py b/social/backends/slack.py
index 5ea49c8..d2973ca 100644
--- a/social/backends/slack.py
+++ b/social/backends/slack.py
@@ -60,8 +60,6 @@ class SlackOAuth2(BaseOAuth2):
             out["team_url"] = auth_test.get("url")
         else:
             out = data.copy()
-            # make the data consistent with the above
-            out["id"] = out["user_id"]
-            del out["user_id"]
+            out.update(auth_test)
 
         return out

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