[Python-modules-commits] [python-social-auth] 68/322: Change expression

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:50 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 5dad0e398f694fb8fde12f0a706b60767e0dbdd9
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Fri Jan 2 04:40:16 2015 -0200

    Change expression
---
 social/backends/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/backends/base.py b/social/backends/base.py
index 7a800a1..4b5c666 100644
--- a/social/backends/base.py
+++ b/social/backends/base.py
@@ -209,7 +209,7 @@ class BaseAuth(object):
 
     def request(self, url, method='GET', *args, **kwargs):
         kwargs.setdefault('headers', {})
-        if not self.setting('VERIFY_SSL') == None:
+        if self.setting('VERIFY_SSL') is not None:
             kwargs.setdefault('verify', self.setting('VERIFY_SSL'))
         kwargs.setdefault('timeout', self.setting('REQUESTS_TIMEOUT') or
                                      self.setting('URLOPEN_TIMEOUT'))

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