nfv/nova-api-proxy/nova-api-proxy/nova_api_proxy/common
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
..
__init__.py Fix nova-api-proxy install directories 2018-07-18 15:52:44 -04:00
config.py Change nova-api-proxy logging backend to oslo_log 2018-10-22 12:49:15 -05:00
exception.py Fix urllib/unicode related issues for Python 2/3 2019-01-15 19:57:15 +08:00
histogram.py enable pep8 alphabetical imports check for nova-api-proxy 2018-12-18 13:13:51 -06:00
service.py enable pep8 alphabetical imports check for nova-api-proxy 2018-12-18 13:13:51 -06:00
timestamp.py enable pep8 alphabetical imports check for nova-api-proxy 2018-12-18 13:13:51 -06:00
utils.py Fix nova-api-proxy install directories 2018-07-18 15:52:44 -04:00