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: I6f6b60c41a7f3b38d42444604d629966a0b8fede
Co-Authored-By: LiZekun <2954674728@qq.com>
This commit is contained in:
Takashi Kajinami 2022-03-08 09:25:40 +09:00
parent dce45ff052
commit e2a7a35957

View File

@ -44,7 +44,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
@ -184,8 +184,8 @@ htmlhelp_basename = 'puppet-tempestReleaseNotesdoc'
# (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-tempestReleaseNotes.tex', u'puppet-tempest Release Notes Documentation', ('index', 'puppet-tempestReleaseNotes.tex', 'puppet-tempest 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
@ -214,8 +214,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-tempestreleasenotes', u'puppet-tempest Release Notes Documentation', ('index', 'puppet-tempestreleasenotes', 'puppet-tempest 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.
@ -228,8 +228,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-tempestReleaseNotes', u'puppet-tempest Release Notes Documentation', ('index', 'puppet-tempestReleaseNotes', 'puppet-tempest Release Notes Documentation',
u'2017, Puppet OpenStack Developers', 'puppet-tempestReleaseNotes', 'One line description of project.', '2017, Puppet OpenStack Developers', 'puppet-tempestReleaseNotes', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]