From 861eba5f53f6ae8301e43ec6e87bee48fbbefc1f Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 23 Feb 2018 16:42:59 -0500 Subject: [PATCH] adjust imports of urlib so doesnt rely on requests Issue-ID: TEST-79 Change-Id: I8f067cf8a8b3c32b127fa985d46ab86008e063d4 Signed-off-by: DR695H --- eteutils/HTTPUtils.py | 8 ++++---- 1 file 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 -- 2.16.6