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: I4dd93ba05bfbfc1032e893037c367bf8066b6afc
This commit is contained in:
niuke 2022-08-29 19:57:42 +08:00 committed by Ke Niu
parent 3813c99e50
commit 3c6cd56659
2 changed files with 12 additions and 12 deletions

View File

@ -37,8 +37,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'openstack'
copyright = u'2017, OpenStack Developers'
project = 'openstack'
copyright = '2017, OpenStack Developers'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/openstack'
@ -74,8 +74,8 @@ htmlhelp_basename = '%sdoc' % project
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Developers', 'manual'),
'%s Documentation' % project,
'OpenStack Developers', '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'zaqar_tempest_plugin Release Notes'
copyright = u'2017, OpenStack Developers'
project = 'zaqar_tempest_plugin Release Notes'
copyright = '2017, OpenStack Developers'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/openstack'
@ -213,8 +213,8 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'zaqar_tempest_pluginReleaseNotes.tex',
u'zaqar_tempest_plugin Release Notes Documentation',
u'OpenStack Foundation', 'manual'),
'zaqar_tempest_plugin Release Notes Documentation',
'OpenStack Foundation', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -244,8 +244,8 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'zaqar_tempest_pluginrereleasenotes',
u'zaqar_tempest_plugin Release Notes Documentation',
[u'OpenStack Foundation'], 1)
'zaqar_tempest_plugin Release Notes Documentation',
['OpenStack Foundation'], 1)
]
# If true, show URL addresses after external links.
@ -259,8 +259,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'zaqar_tempest_plugin ReleaseNotes',
u'zaqar_tempest_plugin Release Notes Documentation',
u'OpenStack Foundation', 'zaqar_tempest_pluginReleaseNotes',
'zaqar_tempest_plugin Release Notes Documentation',
'OpenStack Foundation', 'zaqar_tempest_pluginReleaseNotes',
'One line description of project.',
'Miscellaneous'),
]