181d7b4832
This change has no code impact on python2 There are multiple six.moves modules depending on which urllib2 component was being used. Classes were verified by print(class_name) Methods were verified using help(method_name) Error codes: urllib2.URLError -> from six.moves.urllib.error import URLError (verified as the same) urllib2.HTTPError from six.moves.urllib.error import HTTPError (verified as the same) Functionality: old: urllib2.HTTPHandler new: from six.moves.urllib.request import HTTPHandler verification: print(HTTPHandler) result: urllib2.HTTPHandler old: urllib2.Request new: from six.moves.urllib.request import Request verification: print(Request) result: urllib2.Request old: urllib2.build_opener new: from six.moves.urllib.request import build_opener verification: help(build_opener) result: Help on function build_opener in module urllib2: old: urllib2.install_opener new: from six.moves.urllib.request import install_opener verification: help(install_opener) result: Help on function install_opener in module urllib2: Story: 2004241 Task: 28069 Change-Id: Iec3a9e7b20c9d186313dfa4e152064283236603a Signed-off-by: Al Bailey <Al.Bailey@windriver.com> |
||
---|---|---|
api-ref/source | ||
devstack | ||
doc | ||
guest-agent | ||
guest-client | ||
guest-comm | ||
mtce-guest | ||
nfv | ||
nova-api-proxy | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_guest_image.inc | ||
centos_guest_image_rt.inc | ||
centos_iso_image.inc | ||
centos_pike_docker_images.inc | ||
centos_pike_wheels.inc | ||
centos_pkg_dirs | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-nfv
StarlingX NFVI Orchestration