diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2017-09-03 16:11:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-03 16:11:24 +0100 |
commit | f53f5c2f3bc4f69407e192887162428e785983f1 (patch) | |
tree | f557438cac6007bd95d044b347909f5382d85bed | |
parent | 0f37d690c2cc9906830de05e1e0b2de87f9c3c70 (diff) | |
download | python-requests-disable-security.tar.gz |
Appease our linting overlords.disable-security
-rw-r--r-- | requests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/__init__.py b/requests/__init__.py index 043eb27f..796e6aab 100644 --- a/requests/__init__.py +++ b/requests/__init__.py @@ -82,7 +82,7 @@ except (AssertionError, ValueError): # Attempt to enable urllib3's SNI support, if possible try: - if not 'REQUESTS_DONT_USE_PYOPENSSL' in os.environ: + if 'REQUESTS_DONT_USE_PYOPENSSL' not in os.environ: from urllib3.contrib import pyopenssl pyopenssl.inject_into_urllib3() except ImportError: |