remove unicode prefix 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: I73a9e82224e1fe47c63d3b6e4e5f409703225021
This commit is contained in:
niuke 2022-08-25 11:39:04 +08:00 committed by Ke Niu
parent 0ced9b5a75
commit fd1d443df6
2 changed files with 14 additions and 14 deletions

View File

@ -22,8 +22,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'shade'
copyright = u'2014 Hewlett-Packard Development Company, L.P.'
project = 'shade'
copyright = '2014 Hewlett-Packard Development Company, L.P.'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -41,6 +41,6 @@ htmlhelp_basename = '%sdoc' % project
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
u'Monty Taylor', 'manual'),
'%s Documentation' % project,
'Monty Taylor', 'manual'),
]

View File

@ -60,8 +60,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Shade Release Notes'
copyright = u'2017, Shade Developers'
project = 'Shade Release Notes'
copyright = '2017, Shade Developers'
# Release notes are version independent
version_info = ''
@ -212,8 +212,8 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'shadeReleaseNotes.tex',
u'Shade Release Notes Documentation',
u'Shade Developers', 'manual'),
'Shade Release Notes Documentation',
'Shade Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -243,8 +243,8 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'shadereleasenotes',
u'shade Release Notes Documentation',
[u'shade Developers'], 1)
'shade Release Notes Documentation',
['shade Developers'], 1)
]
# If true, show URL addresses after external links.
@ -258,10 +258,10 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'shadeReleaseNotes',
u'shade Release Notes Documentation',
u'shade Developers', 'shadeReleaseNotes',
u'A client library for interacting with OpenStack clouds',
u'Miscellaneous'),
'shade Release Notes Documentation',
'shade Developers', 'shadeReleaseNotes',
'A client library for interacting with OpenStack clouds',
'Miscellaneous'),
]
# Documents to append as an appendix to all manuals.