Remove unicode literal from code

All strings are considered as unicode literal string from Python 3.

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

Change-Id: I73c068767b78f29abb51a597d6b0a1c339bc535e
This commit is contained in:
LiZekun 2022-06-09 15:33:39 +08:00
parent cdeeb8b495
commit 0179cabfc9
2 changed files with 11 additions and 11 deletions

View File

@ -36,7 +36,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
copyright = u'2016, OpenStack Foundation'
copyright = '2016, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -78,8 +78,8 @@ latex_use_xindy = False
latex_documents = [
('index',
'doc-sushy.tex',
u'Sushy Documentation',
u'OpenStack Foundation', 'manual'),
'Sushy Documentation',
'OpenStack Foundation', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.

View File

@ -52,8 +52,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'sushy Release Notes'
copyright = u'2016, OpenStack Foundation'
project = 'sushy Release Notes'
copyright = '2016, OpenStack Foundation'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -210,8 +210,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'SushyReleaseNotes.tex', u'Sushy Release Notes Documentation',
u'Ironic Developers', 'manual'),
('index', 'SushyReleaseNotes.tex', 'Sushy Release Notes Documentation',
'Ironic Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -240,8 +240,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'sushyreleasenotes', u'Sushy Release Notes Documentation',
[u'Ironic Developers'], 1)
('index', 'sushyreleasenotes', 'Sushy Release Notes Documentation',
['Ironic Developers'], 1)
]
# If true, show URL addresses after external links.
@ -254,8 +254,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'SushyReleaseNotes', u'Sushy Release Notes Documentation',
u'Ironic Developers', 'SushyReleaseNotes',
('index', 'SushyReleaseNotes', 'Sushy Release Notes Documentation',
'Ironic Developers', 'SushyReleaseNotes',
'One line description of project.',
'Miscellaneous'),
]