diff options
author | DR695H <dr695h@att.com> | 2018-02-23 16:42:59 -0500 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2018-02-23 16:48:57 -0500 |
commit | 861eba5f53f6ae8301e43ec6e87bee48fbbefc1f (patch) | |
tree | db03b81a93c92bb27de56e2a829db9ca55dc689c | |
parent | d543b6489bd975f6261cdf31efbf3c9b4ac931b4 (diff) |
adjust imports of urlib so doesnt rely on requests
Issue-ID: TEST-79
Change-Id: I8f067cf8a8b3c32b127fa985d46ab86008e063d4
Signed-off-by: DR695H <dr695h@att.com>
-rw-r--r-- | eteutils/HTTPUtils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eteutils/HTTPUtils.py b/eteutils/HTTPUtils.py index 0747ec9..9324af7 100644 --- a/eteutils/HTTPUtils.py +++ b/eteutils/HTTPUtils.py @@ -1,6 +1,6 @@ import urllib -from requests.packages import urllib3 -from urlparse import urlparse +import urllib3 +import urlparse class HTTPUtils: """HTTPUtils is common resource for simple http helper keywords.""" @@ -14,5 +14,5 @@ class HTTPUtils: urllib3.disable_warnings() def url_parse(self, url): - """ Get pieces of the URL """ - return urlparse(url)
\ No newline at end of file + """ Get pieces of the URL """ + return urlparse.urlparse(url)
\ No newline at end of file |