[Python-modules-commits] [python-social-auth] 21/89: Use builtin compat urlencode
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:15:43 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 dad3e6e8d551dd221920ce36accf1afcd42aedf6
Author: Mishbah Razzaque <mishbah at jp74.com>
Date: Wed Jan 27 14:42:09 2016 +0000
Use builtin compat urlencode
---
social/backends/salesforce.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/social/backends/salesforce.py b/social/backends/salesforce.py
index 066f072..a77aa85 100644
--- a/social/backends/salesforce.py
+++ b/social/backends/salesforce.py
@@ -1,9 +1,5 @@
from social.backends.oauth import BaseOAuth2
-
-try:
- from urllib import urlencode
-except ImportError:
- from urllib.parse import urlencode
+from social.p3 import urlencode
class SalesforceOAuth2(BaseOAuth2):
--
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