Merge "remove unicode from code"
This commit is contained in:
commit
db8479f5c2
@ -488,7 +488,7 @@ def from_response(response, method, url, message=None, traceback=None):
|
|||||||
# message key to the body that has the message and details.
|
# message key to the body that has the message and details.
|
||||||
error = body.get(list(body)[0])
|
error = body.get(list(body)[0])
|
||||||
# NOTE(liusheng): the response.json() may like this:
|
# NOTE(liusheng): the response.json() may like this:
|
||||||
# {u'error_message': u'{"debuginfo": null, "faultcode":
|
# {'error_message': '{"debuginfo": null, "faultcode":
|
||||||
# "Client", "faultstring": "error message"}'}, the
|
# "Client", "faultstring": "error message"}'}, the
|
||||||
# "error_message" in the body is also a json string.
|
# "error_message" in the body is also a json string.
|
||||||
if isinstance(error, str):
|
if isinstance(error, str):
|
||||||
|
@ -36,8 +36,8 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'python-cyborgclient'
|
project = 'python-cyborgclient'
|
||||||
copyright = u'2017, OpenStack Developers'
|
copyright = '2017, OpenStack Developers'
|
||||||
|
|
||||||
# openstackdocstheme options
|
# openstackdocstheme options
|
||||||
openstackdocs_repo_name = 'openstack/python-cyborgclient'
|
openstackdocs_repo_name = 'openstack/python-cyborgclient'
|
||||||
@ -71,8 +71,8 @@ htmlhelp_basename = '%sdoc' % project
|
|||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index',
|
('index',
|
||||||
'%s.tex' % project,
|
'%s.tex' % project,
|
||||||
u'%s Documentation' % project,
|
'%s Documentation' % project,
|
||||||
u'OpenStack Developers', 'manual'),
|
'OpenStack Developers', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Example configuration for intersphinx: refer to the Python standard library.
|
# Example configuration for intersphinx: refer to the Python standard library.
|
||||||
|
@ -51,7 +51,7 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
copyright = u'2017, OpenStack Developers'
|
copyright = '2017, OpenStack Developers'
|
||||||
|
|
||||||
# openstackdocstheme options
|
# openstackdocstheme options
|
||||||
openstackdocs_repo_name = 'openstack/python-cyborgclient'
|
openstackdocs_repo_name = 'openstack/python-cyborgclient'
|
||||||
@ -198,8 +198,8 @@ htmlhelp_basename = 'cyborgclientReleaseNotesdoc'
|
|||||||
# author, documentclass [howto, manual, or own class]).
|
# author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'cyborgclientReleaseNotes.tex',
|
('index', 'cyborgclientReleaseNotes.tex',
|
||||||
u'cyborgclient Release Notes Documentation',
|
'cyborgclient Release Notes Documentation',
|
||||||
u'OpenStack Foundation', 'manual'),
|
'OpenStack Foundation', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
@ -229,8 +229,8 @@ latex_documents = [
|
|||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('index', 'cyborgclientrereleasenotes',
|
('index', 'cyborgclientrereleasenotes',
|
||||||
u'cyborgclient Release Notes Documentation',
|
'cyborgclient Release Notes Documentation',
|
||||||
[u'OpenStack Foundation'], 1)
|
['OpenStack Foundation'], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
# If true, show URL addresses after external links.
|
||||||
@ -244,8 +244,8 @@ man_pages = [
|
|||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
('index', 'cyborgclient ReleaseNotes',
|
('index', 'cyborgclient ReleaseNotes',
|
||||||
u'cyborgclient Release Notes Documentation',
|
'cyborgclient Release Notes Documentation',
|
||||||
u'OpenStack Foundation', 'cyborgclientReleaseNotes',
|
'OpenStack Foundation', 'cyborgclientReleaseNotes',
|
||||||
'One line description of project.',
|
'One line description of project.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user