Forráskód Böngészése

HUE-8387 [core] remove dependency of accessing pyopenssl through requests.packages code

Prakash Ranade 7 éve
szülő
commit
2741fa5b11
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      desktop/core/src/desktop/lib/rest/http_client.py

+ 1 - 1
desktop/core/src/desktop/lib/rest/http_client.py

@@ -29,7 +29,7 @@ from desktop import conf
 from requests import exceptions
 from requests.auth import HTTPBasicAuth
 from requests_kerberos import HTTPKerberosAuth, REQUIRED, OPTIONAL, DISABLED
-from requests.packages.urllib3.contrib import pyopenssl
+from urllib3.contrib import pyopenssl
 
 pyopenssl.DEFAULT_SSL_CIPHER_LIST = conf.SSL_CIPHER_LIST.get()