summaryrefslogtreecommitdiff
path: root/requests/__init__.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2017-05-26 22:53:28 -0400
committerKenneth Reitz <me@kennethreitz.org>2017-05-26 22:53:28 -0400
commit47f170bb3502e1c48774d803cbff4add6a177dd7 (patch)
tree1408b16d88f819bbd2b0c1b2f199f6f36ffee1bd /requests/__init__.py
parent168109f13c135d719a0be21ce220534e4b657aed (diff)
downloadpython-requests-47f170bb3502e1c48774d803cbff4add6a177dd7.tar.gz
fix __init__.py
Diffstat (limited to 'requests/__init__.py')
-rw-r--r--requests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests/__init__.py b/requests/__init__.py
index 3cc7ded8..5ed63e78 100644
--- a/requests/__init__.py
+++ b/requests/__init__.py
@@ -46,7 +46,7 @@ from .__version__ import __copyright__, __cake__
# Attempt to enable urllib3's SNI support, if possible
try:
- from .packages.urllib3.contrib import pyopenssl
+ from urllib3.contrib import pyopenssl
pyopenssl.inject_into_urllib3()
except ImportError:
pass
@@ -54,7 +54,7 @@ except ImportError:
import warnings
# urllib3's DependencyWarnings should be silenced.
-from .packages.urllib3.exceptions import DependencyWarning
+from urllib3.exceptions import DependencyWarning
warnings.simplefilter('ignore', DependencyWarning)
from . import utils