diff --git a/src/fts3/rest/client/request.py b/src/fts3/rest/client/request.py index 2d7b6e205089d9585e939cb3e8b4585c002216e2..8fbcf2d41dcf615cca9371a16fb2c889d3e7037a 100644 --- a/src/fts3/rest/client/request.py +++ b/src/fts3/rest/client/request.py @@ -21,6 +21,7 @@ import requests import tempfile from exceptions import * import os +import urllib3 class Request(object): @@ -33,7 +34,7 @@ class Request(object): self.verify = verify # Disable the warnings if not verify: - requests.packages.urllib3.disable_warnings() + urllib3.disable_warnings() self.connectTimeout = connectTimeout self.timeout = timeout