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: I7247c37d7e082ffa4ea9e8540b25351bb9b851c5
This commit is contained in:
LiZekun 2022-02-23 10:27:32 +08:00
parent cf9dd68ef7
commit 918b802ec2
2 changed files with 16 additions and 16 deletions

View File

@ -33,8 +33,8 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
project = u'TripleO Image Elements' project = 'TripleO Image Elements'
copyright = u'2014, OpenStack Developers' copyright = '2014, 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
@ -175,8 +175,8 @@ latex_elements = {}
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
('index', 'TripleOImageElements.tex', ('index', 'TripleOImageElements.tex',
u'TripleO Image Elements Documentation', 'TripleO Image Elements Documentation',
u'OpenStack Developers', 'manual'), '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
@ -205,8 +205,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', 'tripleoimageelements', u'TripleO Image Elements Documentation', ('index', 'tripleoimageelements', 'TripleO Image Elements Documentation',
[u'OpenStack Developers'], 1) ['OpenStack Developers'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -220,8 +220,8 @@ man_pages = [
# dir menu entry, description, category) # dir menu entry, description, category)
texinfo_documents = [ texinfo_documents = [
('index', 'TripleOImageElements', ('index', 'TripleOImageElements',
u'TripleO Image Elements Documentation', 'TripleO Image Elements Documentation',
u'OpenStack Developers', 'TripleOImageElements', 'OpenStack Developers', 'TripleOImageElements',
'One line description of project.', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]

View File

@ -44,8 +44,8 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
project = u'tripleo-image-elements Release Notes' project = 'tripleo-image-elements Release Notes'
copyright = u'2016, TripleO Developers' copyright = '2016, TripleO 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
@ -196,8 +196,8 @@ latex_elements = {
# (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', 'tripleo-image-elementsReleaseNotes.tex', u'tripleo-image-elements Release Notes Documentation', ('index', 'tripleo-image-elementsReleaseNotes.tex', 'tripleo-image-elements Release Notes Documentation',
u'2016, TripleO Developers', 'manual'), '2016, TripleO 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
@ -226,8 +226,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', 'tripleo-image-elementsreleasenotes', u'tripleo-image-elements Release Notes Documentation', ('index', 'tripleo-image-elementsreleasenotes', 'tripleo-image-elements Release Notes Documentation',
[u'2016, TripleO Developers'], 1) ['2016, TripleO Developers'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -240,8 +240,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', 'tripleo-image-elementsReleaseNotes', u'tripleo-image-elements Release Notes Documentation', ('index', 'tripleo-image-elementsReleaseNotes', 'tripleo-image-elements Release Notes Documentation',
u'2016, TripleO Developers', 'tripleo-image-elementsReleaseNotes', 'One line description of project.', '2016, TripleO Developers', 'tripleo-image-elementsReleaseNotes', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]