remove unicode from code

In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: I5f761b1d4bd04345bb339d251b8de95817a76cce
This commit is contained in:
wu.shiming 2021-03-04 10:33:52 +08:00
parent 9de711070e
commit 8ef17575c8
2 changed files with 11 additions and 11 deletions

View File

@ -37,7 +37,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
copyright = u'2013, OpenStack Foundation'
copyright = '2013, OpenStack Foundation'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/kuryr'
@ -71,8 +71,8 @@ htmlhelp_basename = 'kuryrdoc'
latex_documents = [
('index',
'kuryr.tex',
u'kuryr Documentation',
u'OpenStack Foundation', 'manual'),
'kuryr Documentation',
'OpenStack Foundation', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.

View File

@ -51,7 +51,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
copyright = u'2016, Kuryr developers'
copyright = '2016, Kuryr developers'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/kuryr'
@ -137,7 +137,7 @@ html_theme = 'openstackdocs'
# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = u'Kuryr v0.0.1a'
# html_title = 'Kuryr v0.0.1a'
# A shorter title for the navigation bar. Default is the same as html_title.
#
@ -245,8 +245,8 @@ htmlhelp_basename = 'kuryrdoc'
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'kuryr.tex', u'Kuryr Documentation',
u'Kuryr Developers', 'manual'),
(master_doc, 'kuryr.tex', 'Kuryr Documentation',
'Kuryr Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -287,8 +287,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'kuryr', u'Kuryr Documentation',
[u'Kuryr developers'], 1)
(master_doc, 'kuryr', 'Kuryr Documentation',
['Kuryr developers'], 1)
]
# If true, show URL addresses after external links.
@ -302,8 +302,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'kuryr', u'Kuryr Documentation',
u'Kuryr developers', 'kuryr', 'One line description of project.',
(master_doc, 'kuryr', 'Kuryr Documentation',
'Kuryr developers', 'kuryr', 'One line description of project.',
'Miscellaneous'),
]