nfv/nfv/nfv-plugins/nfv_plugins/nfvi_plugins
SidneyAn 730ef6eeaf Fix urllib/unicode related issues for Python 2/3
replace unicode by six.text_type
replace urlparse by six.moves.urllib.parse
remove the ignore for F821 from the flake8 config

PS: as there is a bug of pylint 1.9, six.moves.urllib.parse
should be import as follows:
e.g.
 from doc of module six:
   from six.moves.urllib.parse import urlparse
   urlparse(endpoint).path

 here:
   from six.moves import urllib
   urllib.parse.urlparse(endpoint).path

pylint bug: https://github.com/PyCQA/pylint/issues/2180

Story: 2003427
Task: 24605
Task: 24608

Change-Id: I098ba8093dbf08dd91acaf403291ebb469195558
Signed-off-by: SidneyAn <ran1.an@intel.com>
2019-01-15 19:57:15 +08:00
..
clients Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
openstack Fix urllib/unicode related issues for Python 2/3 2019-01-15 19:57:15 +08:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
config.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
nfvi_block_storage_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_compute_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_guest_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_identity_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_image_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_infrastructure_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_network_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfvi_sw_mgmt_api.py Update httplib to use python3 compatible code 2018-11-21 15:55:57 -06:00
unit_test.py Fix relative import warnings from pylint 2018-12-20 16:54:35 -06:00