Browse Source

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

(cherry picked from commit 2741fa5b1160be16d62b127b421cd8c319cdfbe6)
Prakash Ranade 7 years ago
parent
commit
33cf8f4402
1 changed files with 1 additions and 1 deletions
  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()