From d4b3f046e9d6bf8b5820bf6115806fa1364c5ee6 Mon Sep 17 00:00:00 2001 From: Uggla Date: Sat, 4 Feb 2017 19:29:02 +0100 Subject: [PATCH] Fix urllib import that prevent clients to run with python2 Change-Id: I62992b38b294d8a643f96e14677d1f998a8128d3 --- redfish/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redfish/main.py b/redfish/main.py index c6be05f..7077673 100644 --- a/redfish/main.py +++ b/redfish/main.py @@ -125,13 +125,13 @@ from future import standard_library from builtins import object import json -from urllib.parse import urlparse, urljoin, urlunparse import requests from . import config from . import standard from . import mapping from . import exception standard_library.install_aliases() +from urllib.parse import urlparse, urljoin, urlunparse # noqa: E402 """Function to wrap RedfishConnection"""