remove unicode literal from code

All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I658c4fb6af736f9a0751b1eb2764dd8886452ae4
Co-Authored-By: LiZekun <2954674728@qq.com>
This commit is contained in:
Takashi Kajinami 2022-03-08 09:26:59 +09:00
parent 81d04e892f
commit 24edba4773

View File

@ -45,7 +45,7 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
copyright = u'2017, Puppet OpenStack Developers' copyright = '2017, Puppet OpenStack Developers'
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
@ -185,8 +185,8 @@ htmlhelp_basename = 'puppet-vswitchReleaseNotesdoc'
# (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 = [
('index', 'puppet-vswitchReleaseNotes.tex', u'puppet-vswitch Release Notes Documentation', ('index', 'puppet-vswitchReleaseNotes.tex', 'puppet-vswitch Release Notes Documentation',
u'2017, Puppet OpenStack Developers', 'manual'), '2017, Puppet OpenStack 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
@ -215,8 +215,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 = [
('index', 'puppet-vswitchreleasenotes', u'puppet-vswitch Release Notes Documentation', ('index', 'puppet-vswitchreleasenotes', 'puppet-vswitch Release Notes Documentation',
[u'2017, Puppet OpenStack Developers'], 1) ['2017, Puppet OpenStack Developers'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -229,8 +229,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 = [
('index', 'puppet-vswitchReleaseNotes', u'puppet-vswitch Release Notes Documentation', ('index', 'puppet-vswitchReleaseNotes', 'puppet-vswitch Release Notes Documentation',
u'2017, Puppet OpenStack Developers', 'puppet-vswitchReleaseNotes', 'One line description of project.', '2017, Puppet OpenStack Developers', 'puppet-vswitchReleaseNotes', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]