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

View File

@ -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'2016, Kuryr developers' copyright = '2016, Kuryr developers'
# openstackdocstheme options # openstackdocstheme options
openstackdocs_repo_name = 'openstack/kuryr' openstackdocs_repo_name = 'openstack/kuryr'
@ -137,7 +137,7 @@ html_theme = 'openstackdocs'
# The name for this set of Sphinx documents. # The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default. # "<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. # 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, # (source start file, target name, title,
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
(master_doc, 'kuryr.tex', u'Kuryr Documentation', (master_doc, 'kuryr.tex', 'Kuryr Documentation',
u'Kuryr Developers', 'manual'), 'Kuryr Developers', '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
@ -287,8 +287,8 @@ latex_documents = [
# One entry per manual page. List of tuples # One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section). # (source start file, name, description, authors, manual section).
man_pages = [ man_pages = [
(master_doc, 'kuryr', u'Kuryr Documentation', (master_doc, 'kuryr', 'Kuryr Documentation',
[u'Kuryr developers'], 1) ['Kuryr developers'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -302,8 +302,8 @@ man_pages = [
# (source start file, target name, title, author, # (source start file, target name, title, author,
# dir menu entry, description, category) # dir menu entry, description, category)
texinfo_documents = [ texinfo_documents = [
(master_doc, 'kuryr', u'Kuryr Documentation', (master_doc, 'kuryr', 'Kuryr Documentation',
u'Kuryr developers', 'kuryr', 'One line description of project.', 'Kuryr developers', 'kuryr', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]