File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/snowflake/connector/vendored/requests Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def _check_cryptography(cryptography_version):
128128 ssl = None
129129
130130 if not getattr (ssl , "HAS_SNI" , False ):
131- from urllib3 .contrib import pyopenssl
131+ from .. urllib3 .contrib import pyopenssl
132132
133133 pyopenssl .inject_into_urllib3 ()
134134
@@ -140,7 +140,7 @@ def _check_cryptography(cryptography_version):
140140 pass
141141
142142# urllib3's DependencyWarnings should be silenced.
143- from urllib3 .exceptions import DependencyWarning
143+ from .. urllib3 .exceptions import DependencyWarning
144144
145145warnings .simplefilter ("ignore" , DependencyWarning )
146146
Original file line number Diff line number Diff line change 5656)
5757
5858try :
59- from urllib3 .contrib .socks import SOCKSProxyManager
59+ from .. urllib3 .contrib .socks import SOCKSProxyManager
6060except ImportError :
6161
6262 def SOCKSProxyManager (* args , ** kwargs ):
Original file line number Diff line number Diff line change 2121 chardet = None
2222
2323try :
24- from urllib3 .contrib import pyopenssl
24+ from .. urllib3 .contrib import pyopenssl
2525except ImportError :
2626 pyopenssl = None
2727 OpenSSL = None
You can’t perform that action at this time.
0 commit comments