Преглед изворни кода

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

Prakash Ranade пре 7 година
родитељ
комит
2741fa5b11
1 измењених фајлова са 1 додато и 1 уклоњено
  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()