Fix urllib import that prevent clients to run with python2
Change-Id: I62992b38b294d8a643f96e14677d1f998a8128d3
This commit is contained in:
parent
abd3012ec0
commit
d4b3f046e9
@ -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"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user